**** BEGIN LOGGING AT Thu Oct 02 03:00:01 2014 Oct 02 03:00:13 good intentions though Oct 02 03:02:08 haha, they mispelled consensual in the link Oct 02 03:02:18 lol app looks... Like it would make the creator some money Oct 02 03:10:58 Anyone know why something annotated with @Singleton would be recreated (Dagger) Oct 02 03:11:12 Over and over again Oct 02 03:11:45 how are you getting it into the graph? Oct 02 03:12:13 Letting it be auto created. @Inject on the constructor Oct 02 03:12:24 are you using .plus at all? Oct 02 03:12:37 yeah a bunch of places Oct 02 03:12:46 So I need to make a module higher up to skip that? Oct 02 03:12:54 higer up on the graph* Oct 02 03:13:09 right. @Singleton is per graph and .plus creates a new, "scoped" graph Oct 02 03:13:30 so it is a singleton, but one per graph Oct 02 03:13:33 Makes sense thanks. Oct 02 03:13:55 v2 is fixing that with proper scope annotations Oct 02 03:14:23 Awesome, is there an ETA on v2? Oct 02 03:14:46 this year Oct 02 03:14:52 it's already mostly usable Oct 02 03:15:18 Mostly... haha Oct 02 03:15:24 first build keep getting "make failed to build some targets". I was trying to compile stock aosp current master for hammerhead using openjdk 7, anyone point me in the right direction about the "make failed to build some targets" error? Oct 02 03:15:32 building with vm ubuntu 12.04.4, and 14.04 with same results, pc is a i7 4770k w/ 16gb ram and allocated 8gb ram and 200gb to vm Oct 02 03:16:00 Do you know what the plan with flow and mortar is? Oct 02 03:18:20 hacktron: do you have more info other than the some targets? Like what targets and why? Oct 02 03:19:52 similar to activity, is there an application.onPause() or onResume() ? Oct 02 03:20:01 pieces029: this is what I see at bottom of console "#### make failed to build some targets (02:53:05 (hh:mm:ss)) ####" Oct 02 03:20:33 pieces029: i am involved in neither of those libraries Oct 02 03:20:42 pieces029: where woud I get more detailed info, this is my first build with android and am not familar with reading or finding logs yet Oct 02 03:22:17 JakeWharton: do you use either of them, or do you have better recommendations? Oct 02 03:22:36 hacktron: I found all the errors I had in the console. Oct 02 03:22:50 pieces029: i use neither. i've never had the need for mortar or a mortar-like library. Oct 02 03:23:13 pieces029: and i wrote the original version of flow but abandoned it (1.5yrs ago) Oct 02 03:23:29 pieces029: i have my own backstate/navigation library Oct 02 03:24:06 I was just about to ask, if you used fragments in cash, I'm guessing you use that lib instead? Oct 02 03:34:30 pieces029: after looking at the console for error the only thing I can make out is that its a segmentation fault, maybe missing dependency ... idk I took a ss of this. Any help would be much appriciated. http://hacktron.com/aosp/aosp-build-fail.png Oct 02 03:36:47 g00s you mentioned wifidirect was a "problem area" could you be a little more specific? is it not reliable or ? Oct 02 03:37:14 lasserix_ yeah from what i heard it was tough getting different devices to interroperate Oct 02 03:37:43 its like google didn't want your phone to connect to anything but the cloud, so wifi direct and ble are fucked up Oct 02 03:37:55 but, wifi direct comes down more to the oem drivers, etc Oct 02 03:37:58 chipset Oct 02 03:39:14 hm, somebody this morning was looking into log4j v2 Oct 02 03:39:26 i think this only uses lmax disruptor when using the asyncappender Oct 02 03:41:19 pieces029: yep. just views and this little lib Oct 02 03:43:43 Cool, something about the square apps seem to be really smooth. I started trying to use flow and mortar and I like it, but I can't help wonder if there is something better. Oct 02 03:44:22 i believe there is Oct 02 03:44:40 Your lib? Oct 02 03:45:04 no, but maybe an evolution of it Oct 02 03:46:16 Forsure, I'll keep using it and hopefully add things I think it needs. Oct 02 03:47:20 log4jv2? Oct 02 03:47:23 hmm Oct 02 03:47:26 fucking cloud Oct 02 03:47:32 just before making a new build of android I see "TARGET_2ND_ARCH=" listed in targets, anybody know why there would be 2nd arch listed as above this "TARGET_ARCH=arm" is alread listed.? Oct 02 03:47:37 can't wait till firegarden API comes out Oct 02 03:48:04 *err opengarden Oct 02 03:52:53 * g00s googles opengarden Oct 02 03:53:11 "Share connectivity with other Open Garden devices via Bluetooth and Wi-Fi" Oct 02 03:54:06 well, the schematic has p2p wifi ... so we know right away this isn't going to work great with android Oct 02 03:54:35 lasserix_ let me know how it goes, for science Oct 02 03:57:10 well Oct 02 03:57:12 apparently Oct 02 03:57:15 firechat is huge Oct 02 03:57:28 miillions of users in hongkong right now because of the protests/occupy movement Oct 02 03:57:35 and firechat uses the unreleased sdk Oct 02 03:57:39 of opengarden to do its thing Oct 02 03:58:30 but are those firechat users of android doing p2p ? Oct 02 03:59:29 hm, seems so Oct 02 04:00:05 Halt And Catch Fire the TV Series is awesome Oct 02 04:02:02 lasserix_ did you see the android firechat reviews ? Oct 02 04:02:04 "Doesn't work A a friend and me just installed; Sony Xperia Z1 and Samsung Galaxy S4, both running kitkat" Oct 02 04:03:38 i'm going to keep my eye on the opengarden thing , if they can make that robust it would be aweseom Oct 02 04:04:26 hmm Oct 02 04:04:45 so it looks like in reality you need to code up a c++ server client interface Oct 02 04:05:36 lasserix_ straight from opengarden Oct 02 04:05:38 http://forum.opengarden.com/discussion/455/open-garden-wifi-direct/p1 Oct 02 04:05:54 "Currently the WiFi direct implementation is buggy in Android and the problems you are experiencing with the connections dropping are due to that." Oct 02 04:06:13 hehe Oct 02 04:06:15 get an iphone if you want reliable p2p :) Oct 02 04:06:37 they can't do anything about chipset incompatibilities Oct 02 04:07:37 all those poor demostraters in HK using firechat on android probably in jail since they didn't get some important memo Oct 02 04:12:27 This app https://play.google.com/store/apps/details?id=com.opengarden.android.MeshClient ? Oct 02 05:05:50 no Oct 02 05:05:51 https://play.google.com/store/apps/details?id=com.opengarden.firechat Oct 02 05:06:02 but they are based on same opengarden tek Oct 02 05:09:52 g00s how is bluetoth for doing p2p? Oct 02 05:10:57 how can I get reference to googlemap in fragment activtiy and show this map on different fragment Oct 02 05:11:17 lasserix_ rfcomm works OK, but it doesn't work well for more than 1 connection. 2 probably OK, 3 ... iffy Oct 02 05:11:30 #connectiosn depends on chipset, device Oct 02 05:12:24 BLE is ... about as good as wifi direct, kinda iffy Oct 02 05:20:13 lasserix_ android L has BLE peripheral mode for android Oct 02 05:20:25 i don't think you could use BLE android to android atm Oct 02 05:20:58 atm , it only implements central role Oct 02 05:38:44 In fragmentactivity I implement locationlistener. I have different fragments. One fragment is google map. When location is changed I'm drawing a marker on map if google map fragment is visible (I implement interface). I want to know how can I update my map when google map fragment is not visible Oct 02 05:52:20 is it possible to change actionbar menu in onCreate() method of activity ? Oct 02 05:52:37 instead of onCreateOptionsMenu Oct 02 05:53:18 the reasoning is that I get data from the intent launching the activity - which needs to be set in a toggle button on the action bar Oct 02 05:54:24 the question about code refactoring. How to make those 2 methods http://pastie.org/9612371 as one? Oct 02 05:55:55 or can i assume that onCreateOptionsMenu will get called *AFTER* onCreate is finished Oct 02 05:56:06 and i can set something in onCreate that i can refer to in onCreateOptionsMenu ? Oct 02 06:37:11 sylon, the intent is available at all times, not just in onCreate Oct 02 06:37:14 kamol, easy Oct 02 06:37:33 ravilov: huh? Oct 02 06:38:15 you asked a question, didn't you? now you just got an answer Oct 02 06:41:28 ravilov: I am just trying to make those two methods into one generic Oct 02 06:42:26 is something not clear with my answer? ;) Oct 02 06:42:35 you asked how, I said easy Oct 02 06:48:26 kamol, http://pastie.org/9613062 Oct 02 06:48:31 told you it's east Oct 02 06:48:32 y Oct 02 06:49:09 ravilov: shit! it is awesome! Oct 02 06:49:18 o_o Oct 02 06:49:26 Kinky Oct 02 06:49:31 ravilov: thank you man! Oct 02 06:50:14 I have an nfc tag that I want to put a record on to access the google play store. Would I put the package name, a market:// url? what kind of url would I use? Oct 02 07:19:25 ravilov: thanks for the tip Oct 02 07:37:51 bilb_ono: i believe a market URL, or a http link to play store, would be best Oct 02 07:38:27 Is it possible to put an actionview before the title in the actionbar? Oct 02 07:40:35 hi, how can I include other project's code with Android.mk? (instead of adding "android.library.reference.1=path/to/library_projectA" to project.properties Oct 02 07:40:46 Hi Oct 02 07:41:40 some body know where I can find some documentation for wifi porting device? Oct 02 07:42:25 I want use a rt2571wf Oct 02 07:43:11 my driver is it work (rt73.ko) Oct 02 07:44:10 but it see that I din't had the good wpa_suplant lib Oct 02 07:45:31 wrong channel Oct 02 07:45:39 go to #android-root Oct 02 07:46:35 ravilov: thank i go to #android-root Oct 02 08:17:39 Hi guys is anyone here using AndEngine? If yes could you tell me is it possible to change some parameters in shaderProgram whitout setting new ShaderProgram to sprite? Oct 02 08:41:53 <_abc_> Bah I looked for this channel for 5 minutes since your channel name is -dev not -devel ... Oct 02 08:43:35 <_abc_> Can someone please enlighten me about Bluetooth support via internal or USB OTG? In general, if a device has OTG then a small hub can be connected, containing a 3G modem stick and possibly a BT dongle if internal BT is not supported, right? Is this fully supported by default in 2.x and 4.x ? Or does it depend on device. My interest is with external BT keyboards/mice and and also SPP profile for serial data devices like gps mice and more. Oct 02 08:43:54 <_abc_> Tia, I'll wait for answers. The net is a little lacking in answers, I searched before. Oct 02 08:46:12 hi Oct 02 08:46:39 if someone steals my phone and can't get through the lock screen, would they still be able to get into my gmail, facebook, etc.? Oct 02 08:47:18 that is, could they copy the system files and produce an environment in which authentication is valid? Oct 02 08:48:06 is that an app dev question? :) Oct 02 08:48:37 Mavrik, well i'm trying to see which files would be the culprit should such authentication be possible Oct 02 08:50:23 <_abc_> Okay so it seems even tiny OTG hubs are made, but what about support on the programming side? Oct 02 08:51:44 kate_r: if you have usb debug enabled without ADB signature authentication, yes Oct 02 08:52:21 or if the bootloader is volunerable Oct 02 08:52:57 wasn't L supposed to switch to "encrypt device by default"? Oct 02 08:54:17 Yeah p_l Oct 02 08:54:56 if usb debug is enabled, would authentication be done by injecting their app into my phone? Oct 02 08:55:14 <_abc_> ref: https://gigaom.com/2010/02/17/how-to-add-a-usb-keyboard-to-an-android-phone/ so one needs to reboot the phone to put the usb subsystem in OTG mode? Oct 02 08:55:17 or would they fish files out of my phone into their emulator? Oct 02 08:56:11 _abc_, no. Oct 02 08:56:46 <_abc_> Sigh. Pretty please, a pointer to authoritative documentation on OTG mode wrt programming? Search engine fail on my side. Oct 02 08:56:56 kate_r: older OS versions didn't have ADB authentication, which allowed people to connect to usb_debug enabled phones and fish data from them Oct 02 08:57:02 <_abc_> I mean, detecting present USB devices, etc., from program side. Oct 02 08:57:37 Has anyone messed with cookies and webview? Oct 02 08:57:46 _abc_: http://developer.android.com/guide/topics/connectivity/usb/host.html Oct 02 08:57:52 <_abc_> thanks Oct 02 08:57:57 _abc_: that's what is included in official APIs Oct 02 08:58:08 I'm trying to load local html data, either from file or string, and I can't attach cookies Oct 02 08:58:08 <_abc_> okay, I am going to read that now. Oct 02 08:58:40 tried with both webview.loadUrl(...) and webview.loadDataWithBaseURL(...) Oct 02 09:00:12 hi, i know there are better fixes but i'm looking for a quick one: I have an issue with ActivityA running and starting another ActivityA from a notification on top, ActivityA is set to SingleTop and I want it to still have 2 instances on the stack Oct 02 09:00:32 is this something where affinity could help? i'm not sure after reading about affinity what it does Oct 02 09:04:47 anyone with VPN experience here? I just want to confirm the tunneling protocol has to be implemented by the app and there is no ready-made solutions offered by the API. Is that right? Oct 02 09:06:08 are cookies ignored when loading local data into a webview? Oct 02 09:07:44 <_abc_> Would Bluetooth (BT) support for a BT dongle have to be treated differently if the BT device is built in, or if it is attached to a USB OTG cable? Iow, will Android detect the BT device and have it work asap using BT apis even if OTG connected dongle? Oct 02 09:08:47 <_abc_> (aside: is a marshalled representation a form of serialized representation) Oct 02 09:10:57 _abc_: unless the firmware is constructed to do so, BT dongle won't work with BT APIs (you'd have to reimplement driving it in your app) Oct 02 09:11:12 <_abc_> ugh. Okay, that is not good news, but... Oct 02 09:11:19 <_abc_> Thanks Oct 02 09:11:32 <_abc_> And how can one find out if "the firmware is constructed so"? Oct 02 09:12:10 <_abc_> I have the impression most tablets with no internal BT readily accept a USB BT dongle on the OTG cable and immediately allow external HID devices to work, like keyboards. Oct 02 09:12:15 <_abc_> Some seem to require reboot. Oct 02 09:12:27 <_abc_> Is there a way to find out? What search term am I looking for? Oct 02 09:14:27 c03, why are you using cookies if you're using html files from your assets? Oct 02 09:15:07 VnM: because my html contains javascript that needs to call external sources with the cookies from the http request Oct 02 09:16:09 _abc_: unfortunately it's hit'n'miss - If they have the driver for standard BT-USB interface, their BT stack might pick it up (sometimes might require a reboot so that it's present when framework boots) Oct 02 09:16:51 I don't think you can use cookies when you're loading html into your WebView from your assets, if it's possible for your case I would suggest using a JavascriptInterface and storing/retrieving the data you need in say SharedPreferences Oct 02 09:19:02 c03: CookieManager? Oct 02 09:20:50 <_abc_> p_l: Yes. So the only way to find out is to try each device? Plus, it might change with fw/rom version?! Oct 02 09:21:07 unfortunately, yes Oct 02 09:21:24 <_abc_> p_l: I am sure someone did some cyanogen device list hack which might answer the question dynamically. Any ideas what I am looking for? app name or project? Oct 02 09:22:34 no idea Oct 02 09:22:42 VnM: not possible, I need to supply the backend load balancer with a routeid cookie. Oct 02 09:23:07 it goes waaay beyond the scope of the application developement - the firmware builder is responsible for such things and reporting whether or not they have BT capability Oct 02 09:23:37 c03: CookieManager Oct 02 09:23:47 danijoo: what about it? Oct 02 09:23:59 <_abc_> p_l: Wait, this goes beyond reporting BT connectivity capability. Oct 02 09:24:06 you can set cookies to your webview with that Oct 02 09:24:24 <_abc_> I basically have to build both usb device discovery and bt via that, and normal bt api into my app. Oct 02 09:24:27 <_abc_> That SUCKS Oct 02 09:24:47 <_abc_> And even after that, I can't tell X via website whether his device supports the thing, until after he tries Oct 02 09:24:55 is this something where affinity could help? i'm not sure after reading about affinity what it does anyone knows? Oct 02 09:24:55 _abc_: yes. But generally, USB OTG support for applications is equivalent of having libusb Oct 02 09:25:03 danijoo: yes. and when my webview loads content from either a string or a local file, they get ignored Oct 02 09:25:26 I basically want NEW_TASK_FLAG to actually do what it says, not call onNewIntent in the existing one Oct 02 09:25:29 <_abc_> p_l: So if I have a USB OTG attached BT will it still be available through the standard BT api? Oct 02 09:25:49 _abc_: only if the firmware supports it Oct 02 09:25:54 And when it's hosted somewhere not inside your app it works right c03? Oct 02 09:26:01 <_abc_> p_l: The api has a defaultAdapter() function, I assume there should be a way to see *more* adapters if available? Oct 02 09:26:08 VnM: yup, just checked Oct 02 09:26:24 looks like I need to write a tiny webserver Oct 02 09:27:04 c03: can you show the code? Im prettty sure this must work somehow.. Oct 02 09:27:06 _abc_: possible. It's just that the firmware needs to handle the "oh, I've got a BTUSB device, let's load the driver and make sure BT stack picks it up!" Oct 02 09:27:08 at least it shoould Oct 02 09:27:21 any here who disagrees with my research that Jackson is best choice for JSON data parsing/reading Oct 02 09:27:24 <_abc_> p_l: Oh, the stack may pick it up AFTER you load it manually?! Oct 02 09:27:27 <_abc_> $deity Oct 02 09:27:42 hi! is anyone having problems with ndk-r10 and nrk-r10b, linking libraries in Linux? https://code.google.com/p/ics-openvpn/issues/detail?id=288 Oct 02 09:27:54 _abc_: it's all in bowels of firmware that is supposed to be abstracted from applications Oct 02 09:28:07 <_abc_> I put my hopes in the sanity of original developers and their need to be able to use a OTG attached usb keyboard or other hid device. Fingers crossed. Oct 02 09:28:29 ha ha ha.... Oct 02 09:28:36 <_abc_> ouch, that hurts Oct 02 09:28:41 lol Oct 02 09:28:44 _abc_: USB *HID* typically works, afaik Oct 02 09:28:54 danijoo: sure, I set the cookies like here: http://stackoverflow.com/questions/1652850/android-webview-cookie-problem Oct 02 09:29:00 <_abc_> Yeah but apparently usb attached bt hid *also* mostly works Oct 02 09:29:11 <_abc_> See plethora of bt keyboards and mice used with tablets Oct 02 09:29:13 danijoo: which works fine when contacting the server Oct 02 09:29:28 danijoo: when I then load local data, the cookies are not attached to the request Oct 02 09:29:33 _abc_: BT HID works fine, USB-attached BT host controllers are the problem Oct 02 09:29:35 <_abc_> I *so* wish there would be some way to document these features using some code/keywords which are searchable. Oct 02 09:30:21 <_abc_> Managing 2000 types of phones without a nominal canonical system makes herding cats seem simple by comparison. Oct 02 09:30:50 <_abc_> I am sure iFruit has 20 suffix letters and codes in the serial number to indicate these features. Oct 02 09:31:07 <_abc_> (everyone else has too, Cisco, IBM, everyone) Oct 02 09:31:11 O.o Oct 02 09:31:22 are these features even supported by android at all? Oct 02 09:31:30 officialy? Oct 02 09:31:38 <_abc_> Which ones Mavrik? We've been talking about this for half an hour. Oct 02 09:31:46 anything OTG related Oct 02 09:31:58 <_abc_> Sure. OTG is USB 2.0 standard and in Android since 3.x Oct 02 09:32:13 no I mean Oct 02 09:32:15 Mavrik: Officially? It's outside scope. Firmware builders are allowed to do whatever they want in this case, including supporting external GPS units etc.etc. Oct 02 09:32:16 <_abc_> Read the backlog, p_l posted a direct link to the api Oct 02 09:32:33 official CTS requirement for which peripherials must devices provide working drivers and API support? Oct 02 09:32:36 libusb-level OTG support is there with official API Oct 02 09:32:38 Hello guys, I have an app with actionbar and it contains 4 pages using tabs and viewpager. Than my boss said he wants also to show camera picture. So I added another page for it. Than my boss said, he wants the camera page not to be part of the tabs. So I removed the tabs and added a spinner on the actionabr. But than he said he likes to have the tabs back, but the camera as a separate activity. Oct 02 09:33:09 Mavrik: I believe OTG support requires USBHID and usb-storage being supported + libusb api Oct 02 09:33:41 <_abc_> Well makers DO say in phone specs they have OTG (or not) Oct 02 09:34:00 <_abc_> Also I wonder why the heck every crap $30 phone can have BT but tablets which are at least $60 do not. Oct 02 09:34:09 huh Oct 02 09:34:13 <_abc_> It is *annoying* Oct 02 09:34:14 isn't BT CTS requirement? Oct 02 09:34:14 Now the problem comes, I have a continue bluetooth connection through all my pages, if I start my activity, things get a bit complex. I put my bluetooth connection in a fragment, so in another activity, I have to somehow deal with the bluetooth connection. How? Oct 02 09:34:23 e.g. you can't build a CTS conformant device without BT at all? Oct 02 09:34:25 <_abc_> Been reading phone specs ad nauseam trying to see a pattern. Oct 02 09:35:01 What's the best way to keep your IO connection in a fragment throught Activity's? Oct 02 09:35:07 <_abc_> Anarchy is here, I am telling you. Oct 02 09:35:37 would it be a good idea to do json parsing on UI thread Oct 02 09:35:49 or runnable to avoid anr Oct 02 09:36:07 Looney, if parsing, why not. As long as you're not doing any IO activities. Oct 02 09:36:18 Looney: depends on size Oct 02 09:36:19 <_abc_> https://github.com/mik3y/usb-serial-for-android this is tangently relevant, USB serial devices on OTG port, also shows what needs to be done to support 'unknown' devices on the go, i.e. force a driver (or try to). Oct 02 09:36:38 no IO Oct 02 09:36:53 no point to write an extra thread for {"foo":"bar"}, but if its like 10k key, values... Oct 02 09:37:01 size can be show stopper Oct 02 09:37:04 Looney, if you json is not too big and complex, you can do it in the UI. Oct 02 09:37:32 Number5: unless you have a citywide telephone book in json :) Oct 02 09:37:35 My experience is, get things working and don't make your code too complex. Oct 02 09:37:40 what you said meant that make a runnable Oct 02 09:38:17 danijoo, in that case you shouldn't use Android for that. Use a serious Linux server :) Oct 02 09:38:56 Number5: we once had a guy here that had literally 5k contacts in its addressbook Oct 02 09:39:20 and he wanted to work with that in an app and was wondering why its crashing when he load them in memory all together Oct 02 09:39:23 danijoo, wow, that's a lot Oct 02 09:39:56 yeah i wondered if he might added his whole city.. ^^ Oct 02 09:40:03 maybe because the app was loading all the picture at once Oct 02 09:40:30 <_abc_> Depending on city, that will crash any phone imho Oct 02 09:40:36 <_abc_> Or at least the app Oct 02 09:40:44 <_abc_> There are cities with 20+ million people in them Oct 02 09:40:48 yeah we marked it down to the usual oom Oct 02 09:40:52 <_abc_> My country's population is slightly smaller Oct 02 09:41:09 yeah, here we have about 600.000 people Oct 02 09:43:04 <_abc_> http://www.tombom.co.uk/blog/?p=124 wow the scary hacks makers make necessary to enable *almost* available built in functioality Oct 02 09:55:18 <_abc_> p_l: My current take is, that anything with Droid >4.x with OTG plug and no internal BT, is BT capable if that is connected via OTG. Or almost anything. Oct 02 10:05:48 http://stackoverflow.com/questions/16902716/comparison-of-android-networking-libraries-okhttp-retrofit-volley Oct 02 10:06:16 any similar but better comparison anyone else has come across Oct 02 10:06:27 asking from json perspective mainly Oct 02 10:10:49 is retrofit the best http://instructure.github.io/blog/2013/12/09/volley-vs-retrofit/ Oct 02 10:11:33 ravilov: hi, sorry again, it doesn’t work in this case http://pastie.org/9613462 Oct 02 10:12:12 huh? Oct 02 10:12:36 ok, well... I gave you a sample solution, the rest is up to you to research and learn what you don't know Oct 02 10:13:03 ravilov: it is generics? Oct 02 10:13:30 (hint: you most likely cannot create fragments using default constructors) Oct 02 10:13:35 is there a way to put some text above a Switch button? Oct 02 10:13:44 Has google closed down? Oct 02 10:13:55 Looney: retrofit is great Oct 02 10:14:00 also, what is the point of (cls)? you really need some heavy googling to do, kamol Oct 02 10:14:23 thanks danijoo Oct 02 10:14:23 s/need/have/ Oct 02 10:14:32 going to start coding on idea Oct 02 10:14:42 wanted to get the best available options Oct 02 10:14:50 what say you about okhttp Oct 02 10:15:20 ravilov: googling :) tq Oct 02 10:16:48 if a phone supports Bluetooth LE, does android automatically use the BLE SDK to connect to BLE devices? that is, does android automatically utilise the low energy capabilities of BLE devices that are hooked up? Oct 02 10:17:43 seeing javadoc, I learn that it is more suited for REST danijoo Oct 02 10:18:13 i have the file IInAppBilling.aidl in com.android.vending.billing, and it shows up in the project browser (android studio), but i get “cannot resolve symbol” when importing Oct 02 10:27:22 retrofit is sophisticated, gotta give it to devs Oct 02 10:28:09 Looney: Any Client is fine. I prefer OkHttp though Oct 02 10:29:30 is it as sophisticated as retrofit Oct 02 10:30:14 yeah Oct 02 10:30:41 in case of any, there is default one as well Oct 02 10:30:49 httpurlconnection I guess Oct 02 10:32:26 it uses okhttpclient by default i think ;) Oct 02 10:33:55 Looney, maybe you should try doing it in JNI, that's sure to have low sophistication level :p Oct 02 10:34:41 ^^' Oct 02 10:35:12 hehehe, yup, gotta starting building libcurl Oct 02 10:35:26 oh my god.. Oct 02 10:40:05 i’m trying to add IInAppBillingService.aidl to my project, but i get errors when importing it… i simply copied the file into the directory structure com.android.vending.billing in my project… but there’s errors when trying to import it Oct 02 10:40:21 what else do i need to do to make my project be aware of this file? Oct 02 10:41:18 it must be java path Oct 02 10:42:21 what do you mean? Oct 02 10:43:56 i mean /src folder Oct 02 10:44:25 ultra- what exactly are you importing ? or attempting to import ? Oct 02 10:44:58 in the src/java/com folder in my project, it has my project folder, and the android folder (and so on with /android/vending/billing/IInAppBillingService.aidl) Oct 02 10:45:06 and it shows up correctly in my project structure Oct 02 10:45:13 StingRay_: the in app billing helper file Oct 02 10:45:21 ok so where is that ? Oct 02 10:45:32 cause you can have it anywhere Oct 02 10:45:43 it must be src/java/andorid/vending..... Oct 02 10:46:00 danijoo I dont think so Oct 02 10:46:15 yeah im wrong ^^' Oct 02 10:46:19 it’s in src/main/java/com… my project is in there too, and that all works fine Oct 02 10:46:20 misread the path. Oct 02 10:46:22 yep Oct 02 10:46:32 you add it like a normal java file Oct 02 10:46:36 so from com, it splits off to either my project or android.vending.billing Oct 02 10:46:43 yep Oct 02 10:47:50 autocomplete for “import com.android.vending.billing” even works, but IInAppBillingService.aidl doesn’t show up at the end of it, even though the file is there Oct 02 10:48:05 erm Oct 02 10:48:07 cannot resolve symbol for that Oct 02 10:48:13 I think you need to re-read what you need to do Oct 02 10:48:20 you do not import that Oct 02 10:48:21 rebuild project Oct 02 10:48:57 the util files it says to copy over do need to import that… i changed the package to mine instead of the original one from the example app Oct 02 10:49:17 why do you keep referencing the aidl Oct 02 10:49:20 forget that now Oct 02 10:49:38 what is actually failing ? Oct 02 10:50:03 in the helper is "com.android.vending.billing.IInAppBillingService" failing ? Oct 02 10:50:04 import com.android.vending.billing.IInAppBillingService; Oct 02 10:50:10 i see that there are apps like SkipLock that sets up a passphrase lock which is to be taken down to become a slider if certain conditions are met. is it possible to take passphrase lock down to become a pattern lock? Oct 02 10:50:14 it looks like it’s an sdk version error, brb Oct 02 10:50:16 without root Oct 02 10:51:21 yeah after a clean i got an error about the sdk build tools version, so i’m updating that Oct 02 10:52:36 kate_r not sure I understand what you are asking Oct 02 10:53:09 but if it is what I think it is, then erm….obviously, if you do the app you can make it into a game of checkers if you want Oct 02 10:54:07 StingRay_, as in, apps like SkipLock sets the phone to use a slider lock rather than a passphrase when certain conditions are met, e.g., connected to home wifi Oct 02 10:54:24 kate_r it's just an app Oct 02 10:54:25 StingRay_, but i wonder if the slider could be replaced by something slightly more secured like a pattern lock Oct 02 10:54:33 does that answer your question ? Oct 02 10:54:58 StingRay_, but doesn't the SDK prevent fiddling with the screen lock? Oct 02 10:55:09 not if you are a screen lock app Oct 02 10:55:18 sorry, lockscreen Oct 02 10:55:29 asaik Oct 02 10:55:38 afaik* Oct 02 10:55:54 StingRay_, but there aren't apps that allow customisation of the screen locking mechanism, right? Oct 02 10:56:07 for non-root phones Oct 02 10:56:29 this is not a modding channel Oct 02 10:56:31 this is app dev Oct 02 10:56:36 yeah Oct 02 10:56:47 so forget about attempting to mod other apps Oct 02 10:56:57 or rather someone elses app Oct 02 10:57:16 http://www.androidtipsz.com/8-best-free-lock-screen-replacement-apps-for-android Oct 02 10:57:37 go have a look at lock screen apps for inspiration if you want Oct 02 10:57:39 no, i'm not trying to mod other apps. i'm just going through the sdk to see if something could be done to reimplement something like Skiplock but to have a pattern lock in "trusted areas" rather than the existing slider Oct 02 10:58:01 kate_r you can have what you want … it would be your app Oct 02 10:59:16 ok, when rebuilding i get “package com.android.vending.billing” does not exist, but i know it’s in the correct folders Oct 02 10:59:30 StingRay_, well, AFAIK, the SDK won't allow a pattern lock to be taken down and be replaced. neither could a face lock be taken down and be replaced. Oct 02 10:59:41 AFAIK, there are some rather ad-hoc restrictions Oct 02 11:00:02 kate_r but there are lockscreen replacements Oct 02 11:00:05 right ? Oct 02 11:00:21 that is a question btw, I dont even lock any of my phones :) Oct 02 11:01:23 StingRay_, and you feel safe? :) Oct 02 11:01:30 guys Oct 02 11:01:44 me, yeah, I have a boat load of shotguns behind me Oct 02 11:01:50 i've installed eclipse + adt + sdk on linux but there's not appcompat_v7 project Oct 02 11:01:52 where is it? Oct 02 11:01:57 dont care much for the phone though ;) Oct 02 11:02:50 i made a project, when i click finish, nothing happens, however it has created the project, but millions of errors, seems like api or something isn't imported Oct 02 11:02:53 well, my phone is hooked up to too many of my accounts Oct 02 11:11:20 once i create a new package in android studio, all i should have to do is copy files into the directory, right? Oct 02 12:06:11 I launch an activity from a notification using a pending intent. But if my app is already in foreground, the launched activity doesn't draw the UI fully. Oct 02 12:06:51 can someone take a look : http://paste.ubuntu.com/8478777/ Oct 02 12:15:52 What would be a good place to suggest a feature for the official Gmail app? Oct 02 12:17:23 skfax: theres a feedback button in the app Oct 02 12:17:51 Hey. I want to make a listview like this one - http://s2.postimg.org/uf48nojh5/img.png . What is the best way to do it? Oct 02 12:18:01 danijoo: Cool thanks, I'll try that Oct 02 12:18:18 Bpaul: listview. Oct 02 12:18:33 wats the question in there? Oct 02 12:18:50 think you're in the wrong group. via http://lmgtfy.com/?q=where+to+make+suggestions+for+gmail+app+android : http://androidforums.com/android-lounge/343431-gmail-app-suggestions-android.html Oct 02 12:18:54 danijoo: I know listview, but how.. when is selected it should be like that with a corner. Oct 02 12:19:07 Bpaul: Add listeners Oct 02 12:19:22 danijoo: listeners for clicks i guess, and next what? Oct 02 12:19:37 Bpaul actually it's a stateListDrawable Oct 02 12:19:40 Next what? Oct 02 12:19:48 Are you referrring to the style or how to process clicks? Oct 02 12:19:56 change color/background on click Oct 02 12:19:59 or use a selector Oct 02 12:20:10 Listen. I want to make a listview like one in the photo. How can I make a shape like that one? Oct 02 12:20:13 that changes background depending on focus state Oct 02 12:20:29 I made a selector, but when nothing is selected is transparent.. Oct 02 12:20:38 then you made it wrong. Oct 02 12:21:08 And what should I put at the selected state? To look like that rectangle with an extra corner? Oct 02 12:21:21 http://developer.android.com/reference/java/nio/channels/Selector.html Oct 02 12:21:31 one png without corner, one with corner Oct 02 12:21:39 danijoo oh I think he's asking how to make the shape lol Oct 02 12:21:44 he is. Oct 02 12:21:53 then the answer is "draw it" ^^' Oct 02 12:22:07 fk sake there should be a course on being able to ask questions…. and you should need to pass it to enter Oct 02 12:22:09 i've already drew it..but i'm not sure is the best ideea Oct 02 12:22:13 #paint for help :p Oct 02 12:22:35 StingRay_: and one to google Oct 02 12:22:45 It IS getting insane in here. "I have a great idea for an app .. how do I program it". Oct 02 12:23:31 rgr does seem like more of the questions are indirect and require personal tuition to answer properly Oct 02 12:23:54 problem is people come in without really knowing what they want. Oct 02 12:23:58 point them to the android dev tutorials and be done. Oct 02 12:24:09 There are no shortcuts. Do the groundwork then ask specifics. Oct 02 12:24:18 My selector - http://pastebin.com/4EVxKcQT . The output is the next, the selected is as i want but, the others are transparent. Oct 02 12:25:02 Bpaul read more, cause there are many more states and combined states you need to use Oct 02 12:25:22 Output is like : http://i.snag.gy/D6ENc.jpg Oct 02 12:26:05 StingRay_: the last item with no state isn't the default one ? That should be when there is no state? Oct 02 12:26:48 Bpaul not sure, think you have to do a wildcard state, but I dont use xml so… bit clueless really Oct 02 12:27:21 well when I do stateListDrawabes for the same thing, the view and parentView dictate the states that are used Oct 02 12:28:07 xml doesn't have things such as 'wildcard' .. Oct 02 12:28:22 well example for me would be toggle button with StateSet.WILD_CARD Oct 02 12:28:45 and obviously state_checked as the alternate state Oct 02 12:29:04 most of the time state_enabled will do Oct 02 12:29:06 http://www.michenux.net/android-listview-highlight-selected-item-387.html Oct 02 12:29:27 there you go. again i did the google for someone.. Oct 02 12:29:51 Bpaul but looks like you just need a background color to the listView really Oct 02 12:30:00 rather than another shade operation on every item Oct 02 12:30:39 listVIew.setBackgroundColor(Color.shittyBrown) kinda thing Oct 02 12:30:58 to get that being visually what you want Oct 02 12:32:46 StingRay_: http://i.snag.gy/1Nfvz.jpg ... Oct 02 12:34:15 paste what you want again Oct 02 12:34:24 my chat cleared for some odd reason Oct 02 12:36:39 anyone with VPN experience here to share insights? Oct 02 12:36:52 is it possible to make router out of android? Oct 02 12:37:14 squ: yes Oct 02 12:37:19 why am I getting unknownhostexception for api.reddit.com Oct 02 12:37:39 squ, you're talking about wifi hotspot? Oct 02 12:37:49 https://api.reddit.com/r/iama/new Oct 02 12:37:52 nisargtha: yes Oct 02 12:38:15 Looney, forgot INTERNET permission? :) Oct 02 12:38:23 nope Oct 02 12:38:30 I have it in my activity tag Oct 02 12:38:37 *inside Oct 02 12:38:52 squ, you can see the option in settings for that. Are you referring to something else? Oct 02 12:39:13 nisargtha: I'm curious about customizing it Oct 02 12:39:14 should it be outside Oct 02 12:39:45 nisargtha: applying firewall filter, installing protocols, services? Oct 02 12:40:51 squ, i have no clue about that. maybe someone with more experience might be able to help you out Oct 02 12:40:57 Looney, uses permission is usually in the application, not activity tag :) Oct 02 12:41:13 nisargtha: thank you Oct 02 12:41:24 yup Oct 02 12:41:36 Hi Guys. Got myself Nexus 5, figured that within add-on dictionaries it doesn't have Ukrainian. I'm eager to add it, if that's possible. Can you say if that's possible for me to initiate it's creation? Oct 02 12:41:44 cheated on it from an existing manifest :-P Oct 02 12:42:37 sevenfourk, honesly I think it's way easier to just install SwiftKey keyboard with Ukranian language Oct 02 12:48:26 for now yes, but would not be that cool if another lang be prepared for install in future versions ? Oct 02 12:48:57 Does it depent on community which uses android devices in this language? Oct 02 12:49:04 StingRay_: i want to make a listview like this one .. http://s2.postimg.org/uf48nojh5/img.png without using images .. Oct 02 12:49:24 hi Oct 02 12:50:26 I'm adding a notification icon from my service (with .setOngoing(true)), but I'd like that, when the service stops, it gets removed, I'm doing getSystemService(Context.NOTIFICATION_SERVICE)).cancelAll(); inside onDestroy() but this seems not working Oct 02 12:50:28 Bpaul then I would learn how to draw using canvas and create customDrawables Oct 02 12:53:22 Mavrik: thanks for suggestion. Oct 02 12:54:34 sevenfourk, as far as I know the languages included in Android are in wholly Google domain :/ Oct 02 12:56:40 on one phone, I get 200 OK Oct 02 12:56:54 ok, thanks. as I thought. too bad Oct 02 12:56:59 and on other I get javax.net.ssl.SSLHandshakeException Oct 02 12:57:12 what am I doing so awesome with okhttp Oct 02 12:58:29 MyWay, give the notification an ID and cancel it with that. Oct 02 13:02:27 Looney: sslhandshakeexception.. do u use a self signed certificate? Oct 02 13:04:01 nope Oct 02 13:04:06 why should I Oct 02 13:04:19 we are talking to https://api.reddit.com Oct 02 13:04:25 oh Oct 02 13:04:45 mh. anyways Oct 02 13:04:46 read https://developer.android.com/training/articles/security-ssl.html Oct 02 13:16:52 strange, I did a factory reset on phone, and guess what Oct 02 13:16:57 I get response :-o Oct 02 13:17:45 StingRay_: would a layer list work for Bpaul here Oct 02 13:18:09 StingRay_: i know you're not a fan of xml though :) Oct 02 13:18:32 at the end of the day it's just drawables for states, so however you want that, but he wants no images/bitmaps Oct 02 13:19:41 the shape would be quite easy to do, but adding darker and highlight rims is probably a bit harder in doing your own drawable Oct 02 13:21:03 lol I have just seen a dev's address for the first time on the play store Oct 02 13:21:21 LETS RAID HIS HOUSE Oct 02 13:21:33 I never bought anything from them but they do offer iap Oct 02 13:22:23 so I'm guessing it's like everybody thought, the address will be public and visible to anyone Oct 02 13:22:37 ravilov what app ? Oct 02 13:22:45 I should really remove the irc highlight and ping on everybody Oct 02 13:22:46 fruit ninja Oct 02 13:23:46 yeah thats a games studio Oct 02 13:23:52 not an indie dev :) Oct 02 13:24:36 Does the httpurlconnection not support the DELETE method? Oct 02 13:26:12 there are some options to interface okhttp's output to jackson's input Oct 02 13:26:32 name your favourites people Oct 02 13:26:42 I am going with bytes[] Oct 02 13:33:19 Google said that the address would be public. Oct 02 13:33:23 goog morning :) Oct 02 13:37:30 i just installed eclipse and created andriod project. Before even writing single like of code 7 errors already pop up. http://snag.gy/2cOpe.jpg here is link. can someone tell me fix of this error? Oct 02 13:39:32 Anyone done any P2P (Wifi Direct?) Oct 02 13:40:22 I have one Device (call it the Master) that I want to transfer data to a number of (call them Slave) devices Oct 02 13:41:03 I use createGroup n the Master and the Slaves do connects, the status of the Devices go to INVITED, but never CONNECTED Oct 02 13:41:23 The Network state eventually fails to DISCONNECTED Oct 02 13:41:35 fosser_josh: it seems like the ADT wasn't loaded yet Oct 02 13:42:28 how do i do that? Oct 02 13:45:55 you Google for "installing ADT in Eclipse" and follow the instructions... Oct 02 13:46:47 doesnt android sdk comes with adt? Oct 02 13:47:57 Guys, I need a confirmation here. I just uploaded a video for my app on YouTube, but the sound on my computer isn't working right now. Can someone confirm that the sound is working, please? http://youtu.be/FNbO_kVesiY Oct 02 13:49:21 fosser_josh: could it be that you have updated the ADT and not the SDK? Oct 02 13:50:31 MikeWallaceDev sound is fine Oct 02 13:50:40 phew, thanks StingRay_ Oct 02 13:50:43 well, apart for the variable distance you are to the mic Oct 02 13:51:15 its stange tha Oct 02 13:51:19 as in very low at points, then too close with hiss and pop/boom Oct 02 13:51:32 its strange that ADT does not come with SDK Oct 02 13:51:34 I did the best that I could with the sound editing. Video isn't too hard, but sound is super tough Oct 02 13:51:53 fosser_josh, why would it be strange it shouldn't Oct 02 13:51:58 hi, which storage should I use when I have a lot of read-write operations? Oct 02 13:52:01 I use the sdk and not adt Oct 02 13:52:07 nor android studio Oct 02 13:52:41 fosser_josh, oh misread you Oct 02 13:52:44 byt89, do you mean storage location or storage type? Oct 02 13:53:01 adt comes with barebones sdk Oct 02 13:53:13 you need to update it to get all platforms Oct 02 13:53:16 MikeWallaceDev: Storage type Oct 02 13:53:59 byt89, that depends on your data, how much of it, type of data, etc Oct 02 13:54:04 pfn: 1st thing is just basic app created in andriod sdk throws 7 errors without even writing a code. Doesnt it necessary that sdk must have required packages for basic application Oct 02 13:55:30 it's not missing sdk, it's missing appcompat Oct 02 13:55:46 and for that matter, I don't know how to use appcompat in eclipse Oct 02 13:58:24 MikeWallaceDev: It's a lot of data, which is often read and rewritten. Currently I am storing it in SharedPreferences, but that seems to be too slow. It are objects split to primitive types then stored. Oct 02 13:58:39 sigh, working out how to compile J2ME apps is /so confusing/ D: Oct 02 13:58:42 pfn: appcompcat_v7 is there. Oct 02 13:58:50 SQLite if it's a lot of data Oct 02 14:00:16 byt89, so why are there so many read-writes? There might be a design problem there Oct 02 14:02:45 MikeWallaceDev: I have a listview which is refreshed with new data in very small intervals. The data comes from a server and can be over 100 objects. I store them because they are often needed in other Activties and such. Oct 02 14:05:26 you can just keep it in memory Oct 02 14:05:37 ok, this sounds pretty normal... Oct 02 14:06:21 and the data has to be refreshed while the list is displayed? Oct 02 14:07:25 if not, that's just normal a normal data flow. Look into SQLite, Content Providers, Cursors and CursorLoaders Oct 02 14:08:07 if it does, look into all that, plus Infinite Scrolling Oct 02 14:12:13 byt89: Store the data in a Controller/Model way that you have static access to across the application Oct 02 14:15:40 why am I starting to like xml when I started to work on json Oct 02 14:15:49 Mrdarknezz, I'm wondering why you would suggest that? He never said that he needs the data across the app. And that suggestion would greatly bloat his application in any case. Oct 02 14:17:36 MikeWallaceDev: Because that way you don't need to make excessive requests causing massive battery drain Oct 02 14:17:42 "they are often needed in other Activties and such." Oct 02 14:17:50 Did I missinterpret that+ Oct 02 14:17:53 ?* Oct 02 14:18:09 No, you didn't, I missed that. Oct 02 14:18:22 Ok! Oct 02 14:19:06 Then he could update the data using an adapter when needed Oct 02 14:19:11 However, static data is still a bad idea. He will always have the data loaded even when not need. Oct 02 14:19:41 ed. Oct 02 14:19:42 :D Oct 02 14:20:11 MikeWallaceDev: Yeah but then he would need to make a new request on each activity Oct 02 14:20:21 Haha sorry for the confusion. Oct 02 14:20:37 there's is no problem with that at all Oct 02 14:20:50 MikeWallaceDev: The radiotransmitter is one of the most battery draining component on the phone Oct 02 14:21:11 There was a session on that on one of the google I/O Oct 02 14:21:29 getting the data into the database, and querying the database are two things. Oct 02 14:21:40 Oh the database Oct 02 14:21:45 thought you meant network request Oct 02 14:21:51 well yeah if it's big amount of data Oct 02 14:21:59 but phones today have almost 1gb of ram Oct 02 14:22:38 But this arguement will probably go on forever without a good conclusion Oct 02 14:22:44 is it possible to add some view between actionbar and tabs http://www.androidhive.info/wp-content/uploads/2013/10/android-tabs-adding-to-action-bar.png?7885e2 ? Oct 02 14:23:47 I am using viewpager with actionbar… but don’t know how to make it Oct 02 14:27:29 wow, I am forgetting how to code :'( Oct 02 14:40:37 Hey everyone. My app is a big score card to keep track of different scores etc. I want it to save the current scores on close and when it starts back up just pick up where it left off. What is the best way to do this? Oct 02 14:41:15 treeson by doing it … what exactly is the question ? Oct 02 14:41:37 have you read about data storage ? and about lifecycle ? Oct 02 14:41:42 no Oct 02 14:41:47 cause they should answer 100% of your questions Oct 02 14:42:02 and at the very least allow you to ask specific questions Oct 02 14:42:06 google shared preferences, solve your problem :D Oct 02 14:42:23 can we rename this channel to Android-dev-RTFM? Oct 02 14:42:26 well no, read data storage docs on d.android.com Oct 02 14:42:45 decide whats best for your data treeson Oct 02 14:43:23 im implementing google sign in and facebok login side by side Oct 02 14:43:50 jvrodrigues wow your uses may just as well give all their personal details away ;) Oct 02 14:44:02 users* Oct 02 14:44:17 well, specs are specs :D Oct 02 14:44:23 my question is a bit more specific tho Oct 02 14:44:36 im thinking instead of having to implement each sdk on every activity Oct 02 14:45:21 creating a singleton that extends activity, and having it listen to session state changes on whatever session the user signed in with in the signin activity and then calling interfaces Oct 02 14:45:29 would this be possible Oct 02 14:46:14 so if i'm just storing a bunch of ints and strings then shared preferences is the way to go right? Oct 02 14:46:25 trying to set the height of a custom action bar, but can get it working. http://pastebin.com/cfayHZ6r is my style file Oct 02 14:46:33 treeson, yup Oct 02 14:46:38 *cant get it wokring Oct 02 14:46:39 thanks Oct 02 14:46:53 I'm running into an issue where Android's webview has almost a 1 second delay in getting the scroll bar correct when show/hiding divs Oct 02 14:46:57 anyone seen anything like this? Oct 02 14:48:16 shadej2, do you see an actionbar even? Oct 02 14:49:08 can pro guard strip away annotations? Oct 02 14:49:26 sure Oct 02 14:50:08 pfn im really wanting to reuse the models package that is defined on our Java back-end, to use with retrofit and gson. i've gotta strip away the annotations though, so I don't need to pull all the dependencies which take me over 65k dex Oct 02 14:50:26 my app is extremely small (850kb) and takes up no resources. Is there any way that I can have it on exit to just exist in the background Oct 02 14:50:30 jvrodrigues: yeah Oct 02 14:50:57 annotations shouldn't pull in dependencies... Oct 02 14:51:25 Jesus treeson, did you do any reading/research on Android? Oct 02 14:51:38 yes Oct 02 14:51:47 MikeWallaceDev I want to know what research you did to even understand the question ! Oct 02 14:51:54 :D Oct 02 14:51:58 * StingRay_ feels dumb Oct 02 14:52:16 jvrodrigues: I am using tabview btw. Oct 02 14:52:17 pfn so the annotated classes wouldn't bomb out if I tried to use them on the Android side? Oct 02 14:52:28 treeson, you're asking about one of the main components of Android, the first things you should read. Services. Oct 02 14:52:33 mattblang, it wouldn't, no Oct 02 14:52:36 annotations don't do anything Oct 02 14:52:42 your annotation processors do work Oct 02 14:52:51 i have an inner class Blah which has a String named 'Date'. Now I call Blah.class.getDeclaredField("Date") and i get a NoSuchFieldException. What's up with that? Oct 02 14:53:03 mikewallacedev: i am fine with reading, I usually just come in here to figure out what I should read Oct 02 14:53:32 Hey all, I'm having a bit of trouble using RxJava with Retrofit. I'm chaining Retrofit calls using .flatMap and ending with a subscribe. It doesn't call any of my lambdas inside the flatmap or subscribe though. Oct 02 14:53:34 That's good news treeson , go read up on Services Oct 02 14:53:34 trying to set the height of a custom action bar, but can get it working. http://pastebin.com/cfayHZ6r is my style file Oct 02 14:53:35 Here's a pastebin: Oct 02 14:53:36 http://pastebin.com/qNvuBD3F Oct 02 14:53:40 thanks Oct 02 14:53:42 treeson: I think the answer is, whatever you want to do. Want to put a text file in your app storage and do that? Fine. Want to use shared prefs? Bet you could. Want to do sqlite? Sure. Oct 02 14:56:52 mattblang, whether your build system eats poop is a different matter, if using gradle, just mark all the annotation providing dependencies as provided Oct 02 14:57:58 pfn sure. so the back-end is Maven. a lot of the dependencies were already marked as provided. I was thinking that if we marked them all as provided, then I could pull to Android without any of the annotation depdencies. Oct 02 14:58:21 pfn (we have a local Maven repo at our company) Oct 02 14:58:26 yeah, should work fine Oct 02 14:58:36 shadej2, im not really sure but i think you are setting the wrong parent Oct 02 14:58:40 shadej2, try Widget.Holo.ActionBar.TabView Oct 02 15:00:45 jvrodrigues: no change except it changed the style. Oct 02 15:03:05 shadej2, how did it change the style? Oct 02 15:03:08 the color? Oct 02 15:04:07 jvrodrigues: there is highlight on selected tab now. Oct 02 15:04:39 ok Oct 02 15:04:42 Does anyone know how to chain calls in RxJava? Oct 02 15:04:43 inside myviewpager, I'm using mFragmentManager.beginTransaction().add(R.id.sameidforall, mFragment, sFragmenttag), but this is added to the wrong viewpager's fragment and I can't understand the reason, where should I check? Oct 02 15:04:49 now change it to Widget.Holo.Light.ActionBar.TabView Oct 02 15:04:52 and see what happens Oct 02 15:04:54 tho Oct 02 15:04:56 i think what you want Oct 02 15:04:56 is Oct 02 15:05:38 anyone know if the Presentation class has a publicly-accessible root view? Oct 02 15:05:42 like android.R.id.content Oct 02 15:05:43 ? Oct 02 15:06:28 jvrodrigues: no change. Oct 02 15:06:29 Don't know, but wouldn't it be the sole child of content? Oct 02 15:06:36 ok wait Oct 02 15:06:46 its been a while since i dealt with themes Oct 02 15:07:18 k Oct 02 15:08:32 Wooooo! Oct 02 15:20:08 When I want to make notifications displaying new messages like in WhatsCrap or what ever, do I simply update the notification with the content getting concatenated? Oct 02 15:20:25 so every time a new message comes in, I just post a new notification, with the same id and just extend the content? Oct 02 15:24:30 new notifications with the same id replace the old one Oct 02 15:33:05 I know.. the question is whether this is the right approach in my case ;) Oct 02 15:38:00 platzhirsch isn't that something that you should know ? Oct 02 15:38:23 not sure people can decide what is right for "you", although it's asked lots in this channel lately :) Oct 02 15:39:01 I'm building a house, should I use brick or paneling? Oct 02 15:42:36 morning gentlemen Oct 02 15:42:44 I figured out most of my animation woes.. Oct 02 15:42:49 morning mate Oct 02 15:43:22 however.. there is still one thing. that is when I stop the animation stometimes it gets snapped to the top of the screen, others it’s right where I want it.. any ideas on what might be causing this? Oct 02 15:43:40 i am changing the margins of the animated image Oct 02 15:43:44 this is all in a framelayout btw Oct 02 15:44:21 tricknology_ video ? Oct 02 15:44:39 can’t, unfortunately.. but imagine a cowboy hat, if you will Oct 02 15:44:47 always nice to see a vid showing what you are visually describing ….. now that it's so easy Oct 02 15:44:49 going on and off the head of the coyboy/girl Oct 02 15:44:58 up and down Oct 02 15:45:10 sometimes it stops on their head, sometimes it stops in the air Oct 02 15:45:37 always at either extreme of the animation movement, maxy/miny, never in the middle Oct 02 15:45:44 vid :) Cause you are not making this any easier with your explanations Oct 02 15:45:51 * StingRay_ goes for coffee Oct 02 15:45:59 sorry, i really cannot Oct 02 15:46:14 * tricknology_ takes a sip Oct 02 15:46:53 you technically can't or legally can't? Oct 02 15:46:58 legally Oct 02 15:47:15 ok Oct 02 15:47:55 oops, wrong button Oct 02 15:48:34 tricknology_ well sure you will figure it out in the end :) Oct 02 15:49:59 yeah, jsut wondering if there was something I was missing.. like image.snapToOriginal() or something Oct 02 15:50:30 I understand that the image is not actually moving pisition as it is animated.. just short circuiting the coordinates at draw Oct 02 15:50:35 …if you will Oct 02 15:50:47 so changing the margins isnt really hat i want to do Oct 02 15:51:13 i'm trying to understand fragments. is it safe to say that fragments are basically different activity states? Oct 02 15:51:23 literallycat no Oct 02 15:51:24 nope Oct 02 15:51:29 Hi! any suggestions on how to run recent Android on a non-GPU device (has framebuffer but no OpenGLES)? Rewriting SurfaceFlinger to drop GLES2.0 dependency? Using mesa to emulate GLES2.0 in SW? Oct 02 15:52:14 nazgee what devices would require that ? that are currently in use ? (interested) Oct 02 15:53:13 ^ Oct 02 15:53:14 but fragments handle activity lifecycle events Oct 02 15:53:23 I want to bind to my service but tell the service that something about who binds to it, getExtras() is not available in "onRebind(intent)", would "setAction" be apropriate to pass the information along? It's basically a boolean value i need to pass Oct 02 15:53:32 literallycat bound to the same, not handle Oct 02 15:54:41 StingRay_: in my case: device that has only Linux currently running. Android is supposed to be used as a UI-provider Oct 02 15:54:48 literallycat it should describe what they are in the docs Oct 02 15:54:50 StingRay_ I'm confused. why is it not correct to say that they handle events instead of bind to them? Oct 02 15:55:08 literallycat you said handle from activity Oct 02 15:55:28 as though the activity hands off events to handle by fragments and that is the purpose Oct 02 15:56:23 and no, they are bound to the same (mostly) lifecycle… they are headless or view controlling …. they …. well it should be in the docs… what they are Oct 02 15:57:16 inside myviewpager, I'm using mFragmentManager.beginTransaction().add(R.id.sameidforall, mFragment, sFragmenttag), but this is added to the wrong viewpager's fragment and I can't understand the reason, where should I check? Oct 02 15:57:21 * StingRay_ is starting not to like fragments much Oct 02 15:57:32 StingRay_ thanks Oct 02 15:57:51 MyWay if you're adding a fragment to a fragment use the child fragment manager Oct 02 15:58:15 fragment.getChildFragmentManager().beginTransaction() Oct 02 16:02:35 oh, thank you JacobTabak Oct 02 16:02:42 you're welcome Oct 02 16:03:00 but now that I'm using getchildfragmentmanager, how can I prevent, when tapping "back" button exiting the app? Oct 02 16:03:14 I was using addToBackStack, but it seems it does not work anymore, which child Oct 02 16:03:17 with* Oct 02 16:04:31 the short answer is you probably shouldn't if the user is in a viewpager Oct 02 16:06:13 ie, if you can swipe between views in a viewpager, the viewpager is the top level ui widget, so pressing back should take you out of there Oct 02 16:07:14 but I'm adding a fragment on top of the current fragment Oct 02 16:09:56 so pressing back should remove the new fragment, in my opinion Oct 02 16:10:43 android implimentation of SQl lite is barely passable... pitaful excuse of a stable Database implimentation Oct 02 16:25:50 JacobTabak: what if I replace the fragment, then? Oct 02 16:26:44 MyWay if you're adding a fragment on top of the current fragment i think you're doing it wrong Oct 02 16:26:54 you're adding the fragment to the wrong container Oct 02 16:27:28 ie, you're doing it inside the viewpager, when really it should be on top of the viewpager? Oct 02 16:28:36 I have many pages (fragments) using R.id.mainfragment, and I'm adding a new fragment, on R.id.mainfragment (the one used for all the fragments inside the viewpager) Oct 02 16:28:39 has anyone ever excluded a dependency that one of your gradle dependencies pulls in? Oct 02 16:28:53 mattblang yes, only for test tho Oct 02 16:29:12 JacobTabak would you mind messaging me the snippet if it is quickly available? Oct 02 16:30:50 so I have, holdFragment1 inflating R.id.mainfragment, holdFragment2 inflating R.id.mainfragment, then, when the current item is holdFragment1 I'm adding newFragment1, on R.id.mainfragment and the same for newFragment2, newFragment1 is working, but newFragment2 is added on top of holdFragment1 Oct 02 16:30:59 don't know if I was clear enough Oct 02 16:31:40 i think i get it... but what im saying is that if you have a viewpager and you can swipe right and left between items, the back button shouldn't do anything other than take you out of the current screen Oct 02 16:32:40 but why newFragment2 is on top of oldFragment1 and not on top of oldFragment2? Oct 02 16:32:53 when you're not using the child fragment manager? Oct 02 16:32:59 yes Oct 02 16:35:26 because the viewpager keeps offscreen fragments Oct 02 16:35:32 and you have multiple fragments with the same id Oct 02 16:35:47 er, multiple views Oct 02 16:35:53 so when you try do to the fragment transaction who knows which view it will attach to Oct 02 16:36:23 I thought that if I call it from oldFragment2, the id I get is the one of oldFragment2 Oct 02 16:54:22 ./msg nickserv logout Oct 02 16:56:12 JacobTabak: when I'm adding it to android.R.id.content, with getFragmentManager, it's working, too Oct 02 17:18:25 Is it allowed to define custom intent flags? Oct 02 17:25:31 darken: why flags and not extras? Oct 02 17:25:55 extras are purged from the intent when it reaches onBind/Rebind Oct 02 17:26:15 Service#onBind etc. Oct 02 17:26:48 Anyone know anything about Wifi Direct? Oct 02 17:30:55 darken: I think that the flags are bits that are being aggregated with an "or" between them Oct 02 17:31:09 seems dangerous to make your own flags Oct 02 17:31:17 i might be wrong Oct 02 17:31:22 but i think i'm not Oct 02 17:31:39 true that might be a concern, i have found nothing on the topic, probably not going that route Oct 02 17:39:55 in case anyone is interested, I just calculated the session and user percentage for "below API Level 15" based on GA data for our app that is in the 1k-5k downloads category. sessions = 2.93 % and users = 5.31 % Oct 02 17:40:51 mattblang what app ? Oct 02 17:41:08 StingRay_ https://play.google.com/store/apps/details?id=edu.msstate.nsparc.mdes Oct 02 17:41:19 cause the type/function and category are very relevant to that figure Oct 02 17:41:45 and in your case regional restrictions too Oct 02 17:41:46 :) Oct 02 17:41:55 StingRay_ yeah no doubt. it is for the Mississippi Department of Employment Security, so I'd imagine if anything that their would be more people using below API Level 15 Oct 02 17:41:56 as in the demographic that the app is aimed at Oct 02 17:42:12 StingRay_ I was surprised by the low numbers Oct 02 17:42:22 given your target I'm not Oct 02 17:44:06 aim an app at one of the african countries or parts of asia and that changes quite a bit Oct 02 17:44:29 but a US state… well… more surprised that it's that hight Oct 02 17:45:21 mattblang, how did you get the numberse, what analytics framework? Oct 02 17:45:36 darken google analytics Oct 02 17:45:37 GA like he said Oct 02 17:45:43 ah sry didnt see Oct 02 17:46:00 StingRay_ yeah, you are absolutely right on the country change Oct 02 17:46:02 darken np man! Oct 02 17:46:27 StingRay_ but it is one of the poorer US states Oct 02 17:46:52 StingRay_ either way, these numbers are looking like I can definitely bump up the project to API Level 15. just gotta have another chat with the boss Oct 02 17:46:58 i know.. and still many times better than other regions I mentioned :) Oct 02 17:47:26 No hun.. stupid me.. stupid views.. I can;t get this one view out of the framelayout Oct 02 17:47:34 i can change it’s image resource btu I can’t remove it Oct 02 17:47:42 cant even make it invisible Oct 02 17:47:50 or gone Oct 02 17:48:14 tricknology_ then there is a bigger problem that just a simple view Oct 02 17:50:15 it seems so. because this vies likes to switch its place as well… it goes to the right of the screen and is cut off after a certain set of steps proceed. when I call getParent the parent is the frameLayout.. when i call getLeft() getBottom() the coordinates are 0,0 no matter if it is displaying properly or cut off on the right of the screen :( Oct 02 17:51:32 here is an unsolved stackoverflow issue that is similar Oct 02 17:51:33 http://stackoverflow.com/questions/8608737/android-framelayout-cant-set-a-view-visible-when-its-initially-set-to-invisibl Oct 02 17:51:36 try rotating the screen when anim is playing…see if that helps ;) Oct 02 17:52:05 eh, the screen is locked to portrait Oct 02 17:52:26 I am calling invalidate() Oct 02 17:52:33 it's what ? locked why ? Oct 02 17:52:44 after removing and adding views to the framelayout.. Oct 02 17:52:55 I don’t want it to go to landscape Oct 02 17:53:20 tricknology_ this is a private app ? not for the public ? Oct 02 17:53:32 yes Oct 02 17:53:52 oh if it's private then yeah, just make sure no1 uses on a tablet Oct 02 17:53:57 :) Oct 02 17:54:31 LOL Oct 02 17:54:50 locked apps in public get instant uninstall Oct 02 17:54:51 I’m in the process of whipping up a tablet-oriented version that uses fragments Oct 02 17:55:06 screen lock? really? Oct 02 17:55:30 lol, you really want a lazy developer telling me how I should hold my device Oct 02 17:55:33 yes really! Oct 02 17:55:55 but don’t you hate using the keyboard in landscape? no more real=estate left for fields let alone content. Oct 02 17:56:04 my choice is the point Oct 02 17:56:17 and no big fingers need expanded kb sometimes Oct 02 17:56:21 I can understand if you have a larger screen but like.. the LG cricket.. if the keyboard came up in portrait you’d get maybe 1 line of EditText space if you’re lucky Oct 02 17:56:28 StingRay_: when I start the google camera it tells me to turn the device to landscape with some rotating animation Oct 02 17:56:41 shmooz that a camera Oct 02 17:56:54 That’s great! no more portrait videos on worldstarhiphop Oct 02 17:57:34 so what you’re saying StingRay_ is find out what gets called when the device is rotated and call that? Oct 02 17:57:54 tricknology_: onConfigurationChanged() gets called Oct 02 17:58:02 tricknology_ no, I was not saying that Oct 02 17:58:12 I was kinda joking Oct 02 17:58:19 *facepalm* Oct 02 17:59:00 the weird thing is.. it’s telling me I have only 1 child… but I see 2 Oct 02 17:59:09 (in the frame) Oct 02 17:59:40 so where is this other view going?.. i call view.getParent() and it tells me the parent is the FrameLayout Oct 02 18:00:23 should i find the view by ID then? and then set invis? Oct 02 18:00:33 i mean.. it should already be tied to that ID in init() Oct 02 18:00:39 * tricknology_ so lost Oct 02 18:00:56 maybe you should not have taken this job before learning android a bit ? Oct 02 18:01:30 Student loans man.. Oct 02 18:11:22 same problems here: https://code.google.com/p/android/issues/detail?id=5272 Oct 02 18:11:37 but i am not calling setFillAfter() Oct 02 18:13:12 well in closed source development and secret stuff… hard to help with random ramblings when you are not really sure what you are doing…. I can say that what you are doing seems simple though Oct 02 18:13:16 Hey guys, I’m getting a crash from box2d that is very difficult to track down. It seems like there’s no way I can remove bodies without getting a random contact filter crash Oct 02 18:13:22 My body removal code: http://pastebin.com/TEm5gHHA Oct 02 18:13:56 seems.. :( Oct 02 18:14:00 what I thought too Oct 02 18:14:20 Thanks for your help though, I appreciate it Oct 02 18:14:52 …since i can change the image.. I’m just goign to change it to 1 invisible pixel and be done with it... Oct 02 18:15:00 lol Oct 02 18:15:07 any way to apply "default styling" when I tap a button I've added from the xml layout? Oct 02 18:19:09 hello guys...some times, i think I don't understand nothing] Oct 02 18:19:19 I'm trying to learn android dev Oct 02 18:19:23 complex Oct 02 18:23:34 PsciCOdeliXHAt: haha, story of my life Oct 02 18:23:45 just when I think I understand everything, something else pops up. Oct 02 18:23:54 Do you guys read books or just all the docs? Oct 02 18:24:22 BTW StingRay_ it was an AnimationListener() i needed Oct 02 18:24:24 docs, and source :) Oct 02 18:24:36 dang.. how long does that take? Oct 02 18:24:42 can I do it like.. 2 hours a night? Oct 02 18:25:37 call setVisibility(View.Gone/Visible) in onAnimationStart() and onAnimationEnd(); Oct 02 18:29:08 tricknology,What book you reading? Oct 02 18:29:59 Google Oct 02 18:30:20 tricknology,Reading Pro android book. Oct 02 18:30:23 Books.. every one I’ve picked up at the store is already outdated Oct 02 18:30:33 That true Oct 02 18:30:37 They give the basics but I find that the tuts are kind of limited Oct 02 18:30:58 like the tuts in the book show you how to do a few things but IRL you run into a problem that isn’t described anywhere in the book Oct 02 18:31:32 The book i got is very good so far i think. Oct 02 18:31:37 then come here.. and ppl say “read the docs” so I think I’ll try to just read the docs from now on Oct 02 18:31:51 That true. Oct 02 18:32:19 even still I have questions, then I come here Oct 02 18:32:28 tricknology,What you use for the android ide? Oct 02 18:32:45 i admit though, sometimes I don’t read all the way down the docs.. which is how I missed the AnimationListener() Oct 02 18:32:51 Eclipse Oct 02 18:32:58 I want IntelliJ but es espensive Oct 02 18:33:18 tricknology, you hear of testdrod for eclipse? Oct 02 18:33:18 and Android Studio is still in Beta, so not sure whether to switch yet or not Oct 02 18:33:25 no Oct 02 18:33:29 what is it? Oct 02 18:33:40 tricknology_: make the switch it's worth it Oct 02 18:34:01 I want my job to pay for it.. I need to convince them that it’s worth it Oct 02 18:34:07 tricknology,It a plugin so you can test out your app. Oct 02 18:34:28 why would I need that? Oct 02 18:34:56 Well you an test 15 device at one that what i understand. Oct 02 18:35:10 and i think it free with eclipse. Oct 02 18:35:52 I hope android studio come stable soon. Oct 02 18:36:17 honestly I think it's already stable enough Oct 02 18:36:40 no less then eclipse Oct 02 18:37:14 cryptojuice,Only prob i have with android studio is jdk 7 will not show up in android studio. Oct 02 18:37:21 on my mac. Oct 02 18:37:43 hmm works fine for me Oct 02 18:37:52 really Oct 02 18:38:19 cryptojuice,It work with java 8 not with java 7. Oct 02 18:38:29 let me check that exact version i'm running Oct 02 18:38:34 Or i doing something. Oct 02 18:38:46 thanks cryptojuice Oct 02 18:39:32 i try useing java 7.0_65 Oct 02 18:40:07 "/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home" Oct 02 18:40:39 i try that and there no java 7 in javaVirtualMachine. Oct 02 18:40:53 maybe i try it again. Oct 02 18:41:50 odd Oct 02 18:41:55 brb Oct 02 18:47:48 cryptojuice,I install java 7 in eclipse but i can't find it odd. Oct 02 18:51:31 hmm try installing directly from oracle Oct 02 18:52:53 that what i did the 1.7_65 Oct 02 18:53:00 i feel like a fool. Oct 02 18:53:13 it work sometime and not other times. Oct 02 18:54:48 <_CalLightman_> Hi, does anyone know a solution for this - https://stackoverflow.com/questions/4558810/adjustpan-not-preventing-keyboard-from-covering-edittext Oct 02 18:58:53 heh, samsung released a pro audio SDK Oct 02 18:59:18 low latency audio -- wow this still isn't implemented? Oct 02 18:59:20 If my app allocates a huge amount of messages, where should I look if I am not explicitly sending them? I have 3 threads. I have a sensor but it is not using Messages explicitly in my current way of using it, before it was using a Handler but the Handler should use a Message pool. Oct 02 19:04:01 cryotojuice,It work with java 7 60 that all i know. Oct 02 19:06:09 "Many high-end devices are updated to the latest version of Android and get the latest OEM updates, which makes them more vulnerable to problems (67%) than low-end devices with the original OS version." Oct 02 19:06:13 i didn't see that one coming Oct 02 19:07:50 We recommend testing the following devices to maximize coverage (list of 14 devices) ... Oct 02 19:07:51 <_CalLightman_> Hi, does anyone know a solution for this - https://stackoverflow.com/questions/4558810/adjustpan-not-preventing-keyboard-from-covering-edittext Oct 02 19:08:01 but iOS charges me $99 year developer fee ! Oct 02 19:09:24 g00s: btw, today i worked with BTLE... Oct 02 19:09:34 p_l|backup oh yeah, how did it go :D Oct 02 19:09:45 on android presumably ? Oct 02 19:09:59 g00s: i want to murder the company making the tech Oct 02 19:10:10 why ? Oct 02 19:10:18 you mean the chipset, or murder the BT sig ? Oct 02 19:10:37 th etech was made at nokia Oct 02 19:10:41 the company whose stuff we were implementing Oct 02 19:10:46 hehehehe Oct 02 19:10:55 what BT module / chip ? Oct 02 19:11:11 normal android, iOS, all worked Oct 02 19:11:52 the oroblem aas custom android 4.4 thingy they made, as well as the crappy node.js server app Oct 02 19:12:29 i'm lost, what was the broken piece ? Oct 02 19:12:42 did you guys make a BT smart peripheral ? Oct 02 19:14:19 does android support Java 7 or 8 features or is it still only 6? Oct 02 19:14:20 i've gotta get one of those USB condoms Oct 02 19:14:34 DLSteve its 7-ish Oct 02 19:14:38 implemented av sync device for portable museum audio guide Oct 02 19:14:50 g00s, ok thanks Oct 02 19:15:25 DLSteve, Java 6 with some Java 7 flavour added Oct 02 19:15:41 Hey, have a quick query. Is anyone getting emails from Google about the Cordova Vulnerability? Oct 02 19:16:05 p_l|backup ah, so did you guys use a SIG GATT profile or define your own profile ? Oct 02 19:16:25 Mavrik, ok thanks, last I read they were working on Java 7 features but didn't know how much they have implemented. Oct 02 19:16:38 we fought idiotic btle-based protocol, idiotic server app, and had to deal with buggy, non-CTS-passing android Oct 02 19:17:08 g00s: it used advertisements with manufacturer-custom field Oct 02 19:17:23 oh so the device was sending ADV_IND packets ? Oct 02 19:17:41 yeah, broadcast role, obeserver role is hard with android Oct 02 19:18:02 the server (node.js crap) would send Oct 02 19:18:05 you probably learned you need to start/stop the scans repeadedly Oct 02 19:18:34 android's BLE filtering of advertisement packets is fucking wonky at best Oct 02 19:18:53 g00s: we don't get access to internals or app on the android dev. however, CTS-passing devices had no issues... Oct 02 19:19:07 umm, anyone here use phonegap? Oct 02 19:19:21 kruzin try #phonegap Oct 02 19:19:31 I am already Oct 02 19:19:36 this is for android dev Oct 02 19:19:40 oh, sorry Oct 02 19:21:04 i'm using a n7 which presumably passes CTS and i have plenty of issues :D Oct 02 19:21:15 g00s: also, the advertisement data was idiotic, we couldn't figure it out till we noticed one of the android apps would show it as string as well (the iOS app we had for scanning btle would give us only raw array) Oct 02 19:21:48 generally, I'm starting to think that makers of BTLE stuff should be shot, drawn and quartered, not exactly in that order ;> Oct 02 19:21:52 anyone here played around with using scala to create your apps? Oct 02 19:22:00 j2p2: pfn, iirc Oct 02 19:22:05 ty Oct 02 19:22:17 it's sad that you guys are all so chicken about using scala Oct 02 19:22:31 other than client work Oct 02 19:22:45 well I'm interested in doing it but not sure where to start - trying to figure out if the novelty would be worth the effort Oct 02 19:22:48 pfn: I'm no chicken, I just don't like scala :) Oct 02 19:22:53 i think BTLE tech is very good actually. the design of the radio is interesting as hell. the GATT stuff is fine for state transfer and pretty elegant. 4.1 has connection oriented streams which didn't work well before. Oct 02 19:22:58 p_l, and you like java more? ok Oct 02 19:23:26 pfn: no, I don't like Java more, but Scala doesn't make me feel fuzzy good feelings enough to jump ship Oct 02 19:23:33 I've heard good things about scala, but for a little application, considering java is already high and some ppl including me prefer low layers Oct 02 19:23:38 choice is made Oct 02 19:23:46 g00s: the bare tech, yes. The companies implementing crap on top of it, otoh... Oct 02 19:23:49 can you just take a scala friendly eclipse install and plug the android sdk into it? Oct 02 19:24:05 j2p2, sure, but eclipse is the worst ide Oct 02 19:24:05 hmm Oct 02 19:24:13 anyone played with Kotlin? Oct 02 19:24:23 p_l the cc2541 and nRF51822 are solid; but yeah if you use something like BlueGiga or Laird modules, who knows what they do Oct 02 19:24:27 I like to code through adversity Oct 02 19:24:31 plus poverty Oct 02 19:24:33 apparently it works very well with Android and doesn't do funky crap with bytecode as Scala Oct 02 19:24:38 also small standard lib Oct 02 19:24:56 the nRF51822 BLE stack can be updated any time too, pretty cool you don't need a new chip when they update the spec Oct 02 19:25:26 oooh Mavrik - I'd never heard of it before but it looks pretty Oct 02 19:25:37 it's from JetBrains guys Oct 02 19:25:39 g00s: in our case the bad is all software Oct 02 19:25:48 p_l XD Oct 02 19:25:56 g00s: the broadcast beacons? Any BTUSB, LE-capable part. Oct 02 19:26:13 pity it's driven by idiotic piece of node.js crap whose docs are incorrect Oct 02 19:26:15 p_l the broadcast beacons crash any android device prior to 4.4 after a period of time Oct 02 19:26:21 4.4.4 rather Oct 02 19:26:25 this made me wanna try it: http://blog.gouline.net/2014/08/31/kotlin-the-swift-of-android/ :) Oct 02 19:26:41 g00s: let's hope this stupid SV startup notices Oct 02 19:26:43 Mavrik yeah i hard about it too, its been working on android for a while Oct 02 19:26:50 but Hope is mother of fools Oct 02 19:26:51 I have a mission. To get reliable http from APIv4 to APIv14. Oct 02 19:26:56 save me Oct 02 19:26:56 lol Oct 02 19:27:00 kotlin is ok, but it doesn't do enough Oct 02 19:27:06 hey pfn Oct 02 19:27:07 it's basically a language that wraps the java libraries plus a little more Oct 02 19:27:08 not much Oct 02 19:27:21 sup nappy Oct 02 19:27:24 that's fine with me, as long as it solves the biggest annoyances of Java Oct 02 19:27:37 p_l you have to watch out for this https://code.google.com/p/android/issues/detail?id=67272 Oct 02 19:27:46 same as usual, attempting the impossible Oct 02 19:27:49 there is a workaround, i'm sure you'll find it ;) Oct 02 19:28:36 Napalm android 4 ? Oct 02 19:28:48 ugh, its soo annoying that pre APIv8 your pretty much dealing with inconsistent Java compatiblity also Oct 02 19:28:51 g00s: the senders don't do idiotic things like rolling MAC addresses Oct 02 19:29:06 or am I thinking APIv5 Oct 02 19:29:08 meh Oct 02 19:29:54 g00s: yea, to support the world audience where some people still use ancient devices Oct 02 19:30:59 Napalm you'll be dealing with low level harmony bugs Oct 02 19:31:19 stuff that got ironed out later on Oct 02 19:31:40 yup i know Oct 02 19:33:18 g00s: do you feel my pain? Oct 02 19:33:23 :( Oct 02 19:33:34 yeah, especially if you need SSL and such :| Oct 02 19:34:05 guys i have an actionbar with 2 tabs, each one is a fragment but the code is almost the same. should i use 1 fragment and include tab position awareness in there, or use both even if they are very similar, or create a superclass and make both fragments extend from there Oct 02 19:34:15 Napalm what does okhttp work down to ? Oct 02 19:34:29 <_CalLightman_> Hi, does anyone know a solution for this - https://stackoverflow.com/questions/4558810/adjustpan-not-preventing-keyboard-from-covering-edittext Oct 02 19:34:37 g00s: 9 Oct 02 19:34:45 g00s: that was my first idea.. doesn't work. Oct 02 19:34:47 oh, thats a ways away from 4 :D Oct 02 19:35:16 Java 6 and up Oct 02 19:35:39 g00s: APIv8 and below is a mix of Java 4-5 Oct 02 19:35:41 its crazy Oct 02 19:35:50 its a mix of pain, yeah Oct 02 19:36:17 how did we all make it of that time alive :| Oct 02 19:36:34 indeed Oct 02 19:36:40 but it only made us Stronger! Oct 02 19:36:41 :) Oct 02 19:38:33 I forgot, why do a few app target 4.1+ only? Oct 02 19:38:41 inb4 'look at the new APIs' Oct 02 19:39:00 So I'm starting a new android project, should I use Android Studio or just stick with Eclips/ADT? Oct 02 19:39:22 DLSteve may as well learn the new build system Oct 02 19:39:27 yes Oct 02 19:39:37 I forgot, there were a few reasons, but I've even seen apps with 3 fragments that do nothing but add numbers target 4.1+, where I'd say I could easily target Froyo with the same functionality. Oct 02 19:39:43 Android Studio Oct 02 19:39:49 using a proper build system goes far with app maintenance Oct 02 19:39:51 g00s, did they ditch ant? Oct 02 19:40:03 Yes, for Gradle Oct 02 19:40:09 ah ok Oct 02 19:40:13 hi all, anybody with NDK experience? Oct 02 19:40:54 Napalm hey, do you think you could use NDK (curl) for some C HTTP library ? Oct 02 19:41:20 yes, people use curl compiled with NDK on android :) Oct 02 19:41:37 erasmospunk, IRC etiquette says you're supposed to ask the actual question if you want an answer ;) Oct 02 19:41:49 still have 1,139,582.00 Oct 02 19:41:58 users for this version of the product Oct 02 19:42:01 ugh Oct 02 19:42:11 ehehehe :) Oct 02 19:42:47 hmm Oct 02 19:42:53 Napalm send them news through SMS or something :D Oct 02 19:42:54 g00s: interesting idea Oct 02 19:43:09 g00s: we do that also Oct 02 19:43:30 Mavrik: Thanks for the tip. The problem is that I added a library to my project that uses .so files. On the phone it works but on Play Store, I get "0 devices (6896 removed)" Oct 02 19:43:44 i suppose there could still be horseshit between versions of bionic Oct 02 19:43:48 7,570,796 Oct 02 19:43:53 will update to the new version Oct 02 19:43:55 and it adds Native platforms: arm5, x86_64 Oct 02 19:44:17 hmm Oct 02 19:44:34 there is no x86_64 device out there yet Oct 02 19:44:35 so its still a lot 1.1 million out of 8.7 million Oct 02 19:44:37 and arm5 is... obsolete :) Oct 02 19:44:50 erasmospunk, in which folders are the .so libs located in your project? Oct 02 19:44:54 Mavrik: here is the repo for reference https://github.com/Coinomi/coinomi-android Oct 02 19:44:56 that is, which arch subfolder? Oct 02 19:45:08 13% of audience Oct 02 19:45:13 fuck, cant loose that Oct 02 19:45:28 Mavrik: wallet/src/main/resources/lib/arm5 Oct 02 19:46:20 g00s: oh god whyyyyyyyyy Oct 02 19:46:21 lol Oct 02 19:46:53 Napalm analytics shows those devices are actively used ? Oct 02 19:47:05 wow, what part of the world mostly ? Oct 02 19:47:12 erasmospunk, hmm, that sounds like an utterly wrong folde Oct 02 19:47:13 r Oct 02 19:47:17 Mavrik: so you say that if I compiled for arm7, it will solve the issue Oct 02 19:47:23 but play store shouln't filter using it either Oct 02 19:47:24 Mavrik: I hope Oct 02 19:48:01 usually compiled libs are located in libs/ or wherever gradle moved them now Oct 02 19:48:13 where arch is "armeabi", "armeabi-v7a", "x86", "mips" Oct 02 19:48:15 g00s: 3.5 Million UK, 1.3 Million US and the rest is split across the world Oct 02 19:49:02 g00s: the NDK idea is ok, but imagine tracking down the bug issues, I havent used NDK for awhile.. but last time I did the integration into the IDE was crap Oct 02 19:49:11 Napalm you are doing gods work; if all people have access to is fox news democracy in this country will collapse Oct 02 19:49:24 lool Oct 02 19:50:06 * Mavrik waves hand. Oct 02 19:50:13 There is no IDE integration, it's all a dream. Oct 02 19:50:13 :) Oct 02 19:51:54 also, for some retarded reason there's no JNA lib for Android which makes calling native code such a frigging pain Oct 02 19:52:10 What? No AArch32? Oct 02 19:52:57 Mavrik its been a very looong time, but i seem to remember JNA / android performance issues Oct 02 19:53:07 Mavrik: I am trying your idea Oct 02 19:53:08 that and it's also a pain to integrate Oct 02 19:53:20 but then again, JNA means no mucking around with dumb JNI API Oct 02 19:53:36 well java 9 comes with JNI 2 so look forward to that :P Oct 02 19:53:41 JNI is probably Satan's proudest achievement. Oct 02 19:54:22 g00s: is it twice as good as the original JNI? Oct 02 19:54:29 twice the satan ! Oct 02 19:55:24 it probably requires twice the boilerplate Oct 02 19:55:35 forcing you to buy more storage space on github for the repo :P Oct 02 19:55:50 XML files :| Oct 02 19:56:12 SOAP RPC format with native files Oct 02 20:01:24 hm, i may wind up using an ARM Cortex-M0 Oct 02 20:01:52 thats the most flea bitten of the arm cores ... Oct 02 20:02:44 g00s: what you doing? Oct 02 20:03:12 i'm going to make a BLE peripheral; i have to choose a SoC Oct 02 20:03:22 There is a way to push entire layout when the soft keyboard is open? the attr. adjustPan pushes the layout up to the focused view. Oct 02 20:03:28 the CC2541 comes with an 8051 ? !! lol Oct 02 20:03:46 i used 8051 in highschool :| Oct 02 20:04:29 challenge is buying the compiler, guess i need Keil uVision Oct 02 20:04:50 IAR compiler is expensive as hell too Oct 02 20:04:57 maybe i should try gcc Oct 02 20:08:02 oh this is interesting, so Cyanogen, Inc is working with Micromax, who is also doing the Google Android Ones Oct 02 20:08:38 cheap CM phones would be competing with Android Ones Oct 02 20:08:45 So they'll be making a One PlusOne.. running Android One? Oct 02 20:10:13 just reading here CM turned down buyout from Google for $1bn Oct 02 20:10:25 did they actually ship anything yet ? Oct 02 20:11:31 g00s: did cm ship the 1+1? yeah Oct 02 20:11:32 seems like a culture clash between google android team and CM Oct 02 20:11:47 dragorn ah k Oct 02 20:11:52 g00s: played with one last week Oct 02 20:11:57 Error 30 Assembly 'BoosterApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Http, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' c:\Users\Administrator\Documents\classic_csharp\BoosterApi\bin\BoosterApi.dll BoosterApi.AlertWindowsService Oct 02 20:12:00 it's about the size of a truck Oct 02 20:12:04 how do i fix that? Oct 02 20:12:48 mylord: well, you might try asking in a more relevant channel :) Oct 02 20:12:59 oops :) meant c# Oct 02 20:13:08 lol Oct 02 20:14:14 ok, cant believe I'm going to ask this, anyone have experience with decompiling android apps and what tools/all-in-ones there are for OSX ? Oct 02 20:14:33 holy crap the emulator is slow. Oct 02 20:14:41 DLSteve: Use HAXM/KVM. Oct 02 20:14:51 and don't emulate ARM -_- Oct 02 20:15:00 yah Oct 02 20:15:07 Napalm just read a good BBC article :) http://www.bbc.com/news/health-29441323 Oct 02 20:15:09 (why is that STILL the default?!) Oct 02 20:15:13 Should just dig out my nexus >.> Oct 02 20:15:38 Or that... Oct 02 20:15:49 you can try genymotion too Oct 02 20:15:58 * flan3002 doesn't like genymotion. Oct 02 20:16:02 DLSteve: I use genymotion and I like it Oct 02 20:16:06 there is a free version Oct 02 20:17:05 StingRay_: Apktool :) Oct 02 20:17:06 Birk_, Ill look into it, thanks. Oct 02 20:17:18 Sure, but still... Except for the easier GPS and battery faking, I don't see much benefit. Oct 02 20:17:25 StingRay_: you can ask in #smali and/or #apktool Oct 02 20:19:02 flan3002: I think it's way faster than the standard. But of course it's not as good as a physical device. Oct 02 20:19:32 Birk_: I feel like the standard emulator with KVM is faster than the real device. :) Oct 02 20:19:35 and it;s easy to use :D Oct 02 20:19:55 flan3002: never tried Oct 02 20:19:58 Sure. Oct 02 20:20:11 Mavrik: I tried to change the folder with variation but still have the same issue. Oct 02 20:20:31 erasmospunk, well Oct 02 20:20:41 you'll just going to have to review the dialog Play store pops up Oct 02 20:20:49 to see if it detects things you want it to detect Oct 02 20:21:11 flan3002, Isnt it more of a simulator than emulator? I know that the iOS one actualy compiles the code for x86. Oct 02 20:21:13 Mavrik: thanks dude Oct 02 20:22:03 DLSteve: I don't think so. Oct 02 20:22:21 DLSteve: intel is a supported platform for android now Oct 02 20:22:45 DLSteve: so there isn't a great distinction between a VM tuned to run android, and an intel android tablet, say. Oct 02 20:23:29 DLSteve: and the emulator itself can also do full arch emulation of arm. So it's much more emulating an android environment than simulating stubs of one Oct 02 20:23:41 dragorn, right. Oct 02 20:24:07 ooh, verizon has scala job openings Oct 02 20:24:07 hot Oct 02 20:24:15 dragorn, I guess what I am asking is should I use the x86 image for a faster simulator. Oct 02 20:24:22 The Software Engineering role is a hardcore coding position working with cutting edge technologies in one of the most prestigious groups within Verizon. This is a great opportunity to be involved in a very niche project and you will have an opportunity to learn new technologies/languages and work with experts in the industry. We need someone very skilled in Scala. Oct 02 20:24:43 DLSteve: yes, unless you're doing native code - then yes, but also test on arm, etc Oct 02 20:25:39 dragorn, I have a Nexus 5 for real phone and arm testing, mainly wanted something to quickly test views and layouts. Oct 02 20:25:47 hey guys. i have an app in which the UI shows a varying number of panes depending on the screen's width. as an example, i have a layout/activity_foo.xml and layout-w720dp/activity_foo.xml. The latter is not a typo, I would like it to be the case that on a 7" tablet you get the phone UI in portrait and the two-pane UI in landscape. the left pane is a list, clicking this list on a phone UI opens a new activity. I am curious how t Oct 02 20:25:48 on the plus side, you'd get to use scala Oct 02 20:25:48 o then handle a rotation operation on a 7" tablet in this case. Oct 02 20:25:53 on the downside you'd have to work for verizon Oct 02 20:26:02 to then handle a rotation operation on a 7" tablet in this case. Oct 02 20:26:26 j2p2, probably in one of the consulting devisions. Oct 02 20:26:44 intuitively it sounds like what I am thinking of doing is detecting a rotation, then firing an intent to launch the other activity, which sounds simple enough. I'm just not sure where to do that. Oct 02 20:28:27 like I am thinking that this is something I should do in onCreate(), if the savedInstanceState is notnull; but is it okay to launch a new activity from the onCreate() of another? Oct 02 20:31:40 sigmabeta yes that's fine Oct 02 20:32:22 wouldn't I end up with two different activities in the stack though? Oct 02 20:32:29 yes Oct 02 20:32:35 you can finish() before launching the new one Oct 02 20:32:51 oh. All in oncreate()? really? Oct 02 20:32:55 why not Oct 02 20:33:19 i dunno, it seems like it would be messy to finish an activity before it is done starting Oct 02 20:33:45 um Oct 02 20:33:55 is there a reason why you don't just use -land qualifier? Oct 02 20:33:58 yea you need to wrap your onStart and onResume methods in an !isFinishing() Oct 02 20:34:26 Mavrik, I want the one-pane layout on phones in landscape Oct 02 20:34:40 and? Oct 02 20:34:42 JacobTabak, makes sense Oct 02 20:34:46 btw i didnt read your question Oct 02 20:34:48 the basic fragment example shows that Oct 02 20:34:54 i only answered the oncreate/start activity question Oct 02 20:35:04 you can use XML includes to reuse layout Oct 02 20:35:14 and you won't have to kill startup performance with several intents for your app Oct 02 20:35:27 Mavrik, i'm not sure that lowers the amount of work i have to do Oct 02 20:35:36 so View.draw(canvas) allows me to draw my view to a canvas. say i want to draw to the canvas in a certain position, how do I do that Oct 02 20:36:13 sigmabeta, programming isn't about your experience, but the users ;) Oct 02 20:36:22 clip rect? or something Oct 02 20:37:16 JacobTabak, use .translate, .scale Oct 02 20:37:22 Mavrik, fundamentally the problem is that I have an activity, lets call it MultiPaneActivity, with a ListFragment and a DetailFragment; and on phones I have MultiPaneActivity show the ListFragment and DetailActivity show the DetailFragment. On phones this is all well and good, on 10" tablets this is all well and good Oct 02 20:37:23 JacobTabak, or .setMatrix to set an affine transform matrix Oct 02 20:37:30 Mavrik i'm drawing to other parts of the canvas Oct 02 20:37:36 i don't want to translate or scale the whole thing Oct 02 20:37:40 JacobTabak, you're not. Oct 02 20:37:44 ok Oct 02 20:37:46 it's not what .translate does. Oct 02 20:37:58 also look into .save() and .restore() Oct 02 20:38:05 "Preconcat the current matrix with the specified translation" Oct 02 20:38:14 Mavrik, on a Nexus 7 if I am in the multipane activity, click on a list item and show the detail fragment, then rotate to portrait I want to show the DetailActivity Oct 02 20:38:27 i will try this - thx Mavrik Oct 02 20:38:27 sigmabeta, I don't understand, basic fragment example shows how to do that Oct 02 20:38:44 sigmabeta, you just use resource qualifiers to show phone layout on a nexus 7 portrait tablet. Oct 02 20:38:55 Mavrik, also my point was that what you were suggesting would provide the same UX, but a different amount of effort for me :) Oct 02 20:39:07 hm, I don't think so. Oct 02 20:39:27 JacobTabak, mhm, just so .save(), .translate(), .draw(), .restore() Oct 02 20:39:39 thanks, haven't done much low lvl drawing before, ill give it a shot Oct 02 20:39:57 Mavrik, your most recent suggestion only applies if I was showing the DetailFragment as the only fragment in the same MultiPaneActivity on phones, unless I'm really misunderstanding something Oct 02 20:40:14 keep in mind save and restore only work for few operations on the canvas, as translate said above, rotate and few others Oct 02 20:40:20 mhm Oct 02 20:40:21 it will not work if you drawtext in the canvas Oct 02 20:40:22 per example Oct 02 20:40:25 . Oct 02 20:40:39 (it will work but will have no effect on it, i meant) Oct 02 20:40:45 mhm, it just saves the transform matrix and clip rect Oct 02 20:40:54 and .translate /scale manipulate the transform matrix :) Oct 02 20:40:58 yup :) Oct 02 20:41:09 iim working with recyclerview decorators Oct 02 20:41:09 i think there is a page on the api doc Oct 02 20:41:14 describiing what is supported Oct 02 20:41:23 it says in the .save doc actually :) Oct 02 20:41:40 great -it worked perfectly Oct 02 20:41:43 o/ Oct 02 20:41:48 Mavrik, you've twice mentioned a "basic fragment example," would you mind providing a link? Oct 02 20:41:54 I think i know what you're talking about, but just to be sure Oct 02 20:42:44 my god I wish I could stab the person that designed the whole touch handling and scroling API Oct 02 20:43:24 this? http://developer.android.com/guide/practices/tablets-and-handsets.html Oct 02 20:44:42 Mavrik, thanks, that's not what I was looking at. I'll have a look Oct 02 20:56:47 woohoo, StickyListHeadersRecyclerView is happening... ;) Oct 02 21:17:56 If my app allocates a huge amount of messages, where should I look if I am not explicitly sending them? I have 3 threads. I have a sensor but it is not using Messages explicitly in my current way of using it, before it was using a Handler but the Handler should use a Message pool. Oct 02 21:23:41 troned: what kind of messages? Oct 02 21:23:59 android.os.Message Oct 02 21:25:09 Not sure I understand what you are doing without seeing the code. Oct 02 21:25:18 message in the bottle .... Oct 02 21:44:00 Hello. Oct 02 21:44:40 Sorry if I'll repeat myself, but I had some problem with my IRC, and I'm not sure if what I said came through. Oct 02 21:44:55 Hello. I'm trying to figure out some basics of the Intent system. I'm using Unity, so I may not know about something Unity is doing, but it seems to work like this: Oct 02 21:45:13 If my app isn't running and I send an intent that my app is registered to, my app will run, and then the intent will be available to my main activity via getIntent(). However, if I then send another (similar but different) intent, my app doesn't respond in any way, and calling getIntent will still return the intent the app was originally launched with. Oct 02 21:45:25 I'm at loss about where those extra intents are going. I know they're getting past the filter. Oct 02 21:49:41 Kryigerofe hello Oct 02 21:50:34 Kryigerofe look at http://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent) Oct 02 21:51:10 You can override that method and call setIntent() Oct 02 21:52:47 Thanks, JacobTabak. Looks like what I'm looking for. Oct 02 21:54:20 Helloo Oct 02 21:54:34 (hamidur) Does anyone know how I can change the package name on my apk Oct 02 21:54:45 (hamidur) I decompiled the apk , edited manifest Oct 02 21:55:08 Then what do I do Oct 02 21:55:20 do you mean someone elses apk? Oct 02 21:55:27 No Oct 02 21:55:31 My one Oct 02 21:55:44 why are you decompiling your own apk Oct 02 21:55:59 Because I am away from my machine Oct 02 21:56:15 But I have my apk download onmyemail Oct 02 21:57:26 i hope i never have to dev away from my machine, this sounds hard ! Oct 02 21:58:57 Lol Oct 02 21:59:47 Yh Oct 02 21:59:48 Lool Oct 02 22:00:26 is your machine running windows ? Oct 02 22:02:25 hamidur do you have the signing keys ? Oct 02 22:02:42 Yep Oct 02 22:03:01 Yes windows Oct 02 22:03:39 maybe its easier to use https://play.google.com/store/apps/details?id=com.microsoft.rdc.android&hl=en Oct 02 22:03:45 log into your box and rebuild ;) Oct 02 22:14:29 Hello, is an IntentService good for long polling? Oct 02 22:15:01 Ok so how what do I need to do to change Oct 02 22:15:14 Just the package name in manifest Oct 02 22:15:14 ? Oct 02 22:15:23 Or a whole set of files Oct 02 22:15:35 no, really you need the entire project…so wait till you get back home Oct 02 22:20:03 i'm home and i still can't get my project to work :( Oct 02 22:21:02 bit freaky that Oct 02 22:21:12 google have things in place for such stuff though right ? Oct 02 22:21:31 to stop direct copy/name change Oct 02 22:23:49 what is it with some apps on play store that they repeat the same set of screenshots 2 or more times? Oct 02 22:23:59 what's the point of that? Oct 02 22:25:06 hm, maybe they uploaded phone and tablet ones and they look similar ? Oct 02 22:25:54 anyone know if url scheme (or any other method) will allow a website to request an oauth flow through an android app? Oct 02 22:26:13 g00s, yeah sometimes, but often times they are literally exactly the same Oct 02 22:26:27 you've never came across this? Oct 02 22:27:05 no Oct 02 22:27:41 the link you posted (to ms remote desktop) is one of those :p Oct 02 22:29:44 yeah thats weird i see what you mean. i think google should separate phone / 7" / 10" screenshots Oct 02 22:30:00 Mavrik: I solved it! I just compiled for armeabi and armeabi-v7a and it worked. Also it is very fast! Thanks for pointing that arm5 was obsolete. Oct 02 22:31:03 Mavrik there are differences in 1 and 8 Oct 02 22:31:07 oops, sorry Mavrik Oct 02 22:31:11 ravilov ^^^ Oct 02 22:31:26 how the heck did i do that :) Oct 02 22:31:47 so, once again, we get to blame google Oct 02 22:32:40 ravilov see the difference ? Oct 02 22:32:47 g00s: yes, they should... Oct 02 22:32:48 hmm so google is to blame for your mistyping? :p Oct 02 22:32:53 g00s, yes I do now Oct 02 22:32:54 but even Google Play crashes constantly Oct 02 22:33:08 ok fine, so that's one of those that has similar but different screenshots Oct 02 22:33:19 they had a 7" screenshot (#1) and 10" screenshot (#8) Oct 02 22:33:19 but trust me, there are those that just duplicate Oct 02 22:33:26 yeah I noticed Oct 02 22:33:31 still Oct 02 22:33:31 g00s: so if they never do, I wonder if I should just use different screenshots to show more. Oct 02 22:33:41 they did all the same screenshots on two devices? point being? Oct 02 22:33:45 except to confuse Oct 02 22:33:55 ravilov have you submitted any apps to play yet ? Oct 02 22:33:58 who's confusing whom? Oct 02 22:34:06 no? Oct 02 22:34:07 why? Oct 02 22:34:14 ok, well then, you would know how uploading works Oct 02 22:34:20 er Oct 02 22:34:22 okay... Oct 02 22:34:25 they ask for phone, 7" and 10" screenshots Oct 02 22:34:27 Hello Oct 02 22:34:29 I got an error today, while trying to make a new project with the Android Application Project template. The error was "Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.editors.common.CommonXmlEditor." Oct 02 22:34:34 really? that's weird Oct 02 22:34:41 if you have 7" and 10" screenshots, your app is labeled as tablet optimized Oct 02 22:34:48 if not, then its not tablet optimized Oct 02 22:34:53 I see Oct 02 22:34:55 that impacts your placement and ranking Oct 02 22:35:01 now you know :D Oct 02 22:35:11 could have uploaded screenshots that are more different :p Oct 02 22:35:11 g00s Oct 02 22:35:15 I wonder Oct 02 22:35:19 yes, thank you for enlightening me, g00s :) Oct 02 22:35:21 What about privacy policy Oct 02 22:35:26 Do you know if having one helps? Oct 02 22:35:45 for ranking Oct 02 22:35:47 Agamemnus not sure if that impacts anything, there is a spot in the app listing where you can put a URL i think Oct 02 22:36:02 yeah I just checked "no policy at this time", but I wonder. Oct 02 22:36:10 What about videos? Do you know? Oct 02 22:36:14 Will submitting a video help? Oct 02 22:37:02 i don't think anyone knows for sure how google ranks - otherwise it would be gamed Oct 02 22:37:24 just make sure you include a picture of a cat Oct 02 22:37:31 Damnit, no cat pics Oct 02 22:37:32 yeah and don't keyword spam Oct 02 22:38:16 You should keyword spam, though. Oct 02 22:38:23 Just do it in a way that sounds like a sentence. Oct 02 22:38:36 but that poor guy - i'll never forget - had his app taken down because he included the required legalese from another company - and that snippet of code triggered suspension Oct 02 22:38:45 JesusFreke, would this one do? http://i.imgur.com/wS4woxE.jpg Oct 02 22:38:55 lolz Oct 02 22:39:35 g00s, no slaps on wrists first? immediate suspension for being a copycat? Oct 02 22:39:43 ravilov: maybe http://lauraagudelo272.files.wordpress.com/2014/06/funny-wiggle-cat-gif-011.gif Oct 02 22:39:44 ravilov ah, lesson #2 Oct 02 22:40:02 your "apeal" is also algorithmic Oct 02 22:40:15 and decision is often final Oct 02 22:40:22 that's cat slavery Oct 02 22:40:43 so... bots decide if I'm likable and they have the final word Oct 02 22:40:44 lovely Oct 02 22:40:57 This is Google Play. Oct 02 22:40:58 this is google, they don't want to deal with bags of water Oct 02 22:41:08 This is Sparta ! Oct 02 22:41:11 They will push you down a well just for bot-fun Oct 02 22:41:58 ravilov so if something ever happens to an app, and your choice is change it or appeal , better change it Oct 02 22:42:24 eh, I doubt any of my apps will ever end up on play store anyway ;) Oct 02 22:42:32 I've stayed away so far, never regretted it Oct 02 22:42:55 i'm going to look into seeing if the Fire HD , etc have BLE Oct 02 22:43:01 if so, maybe sell on amazon Oct 02 22:43:48 that's what I was thinking too, if I ever want to put my apps on any store, amazon will probably be it Oct 02 22:43:51 I have heard that Amazon is better in some respects Oct 02 22:43:59 that or some indie place Oct 02 22:44:03 But seriously, they are all horrible in some way or another Oct 02 22:44:10 i'd have to wait until they update their devices to 4.3 minimum Oct 02 22:44:16 i think they are still API 17 Oct 02 22:44:39 Agamemnus yeah, but that is one of the nice things about the gradle build system Oct 02 22:44:52 it does make flavors easier to make, one flavor for Play, one for Amazon Oct 02 22:44:58 if you structure your app right Oct 02 22:45:26 Speaking of builds Oct 02 22:45:29 for example, maybe Amazon one uses S3 / Dropbox, Play one uses DropBox / gdrive Oct 02 22:45:47 I got some bad ratings because stupid people had x86 chipsets and my Crosswalk build was for ARM. Oct 02 22:45:54 I am just wondering Oct 02 22:46:04 Is it possible to have both ARM and x86 in one APK? Oct 02 22:46:06 Or no Oct 02 22:46:08 it also works great for me, because the physical device my app connects too is also sold on amazon Oct 02 22:46:18 so, duh. no brainer Oct 02 22:47:39 I thought having multi-arch in APKs happens by default Oct 02 22:48:04 Is a good practice to calls the same asynctask class on onpostexecute? Oct 02 22:48:25 I see Oct 02 22:48:31 So it's just a limitation of Crosswalk Oct 02 22:49:03 I asked about this and got a long-winded answer Oct 02 22:49:07 i'm on creating some sort of local messenger, the app will be cross-platform, but the thing that one of the devices must open a server, what is the best way to do this? should i create separate apps? one for server and the other is a client? or in the same app? Oct 02 22:49:08 On their JIRA site... Oct 02 22:49:28 I asked a follow-up, but Chinese 10 day holiday, so no response Oct 02 22:50:32 rithea i don't even think its possible. you would have to create a new object Oct 02 22:50:39 OverCoder, you might want to consider this from the user point of view - which do you think would be more appealing? Oct 02 22:50:41 you can reuse FutureTask Oct 02 22:51:06 Agamemnus, maybe you should switch to something that actually works :p Oct 02 22:51:34 ravilov, and i don't know the user point of view Oct 02 22:51:42 When everyone updates to Android L, I won't need to use Crosswalk Oct 02 22:51:52 which will be a long time from now Oct 02 22:51:59 OverCoder, that's because you're not putting any effort into thinking about it Oct 02 22:52:25 i'm already thinking Oct 02 22:52:27 even now Oct 02 22:52:32 indeed, I don't see full on L happening for another several years Oct 02 22:52:36 but most of the times i think in a very bad way Oct 02 22:52:54 L is coming in a few months though Oct 02 22:53:07 uhhuh, so? Oct 02 22:53:15 So maybe in 6 months it's on most phones that can have it, or no Oct 02 22:53:28 doubt it Oct 02 22:53:55 KK is still not the major version, why would L suddendly be? Oct 02 22:54:02 major used* Oct 02 22:54:28 g00s thanks Oct 02 22:54:34 you're wrong Oct 02 22:55:52 http://dilbert.com/strips/comic/2014-10-02/ Oct 02 22:55:53 heh Oct 02 22:56:14 WEll Oct 02 22:56:34 18% use KitKat for "puzzle" Oct 02 22:56:38 96% of users are on Android 4 Oct 02 22:56:48 Android L is essentially Android 5 Oct 02 22:57:01 major changes Oct 02 22:57:40 Agamemnus so 4-5 years then :) and yeah, 96% Oct 02 22:57:40 So I guess you're not wrong, but L is like 3-4 I'd say. Oct 02 22:57:57 everyone's gonna want to update... Oct 02 22:58:02 Or else! Oct 02 22:58:41 Agamemnus out of interest what are the "major changes" you see ? Oct 02 22:59:25 The push towards Javascript, as far as I can see Oct 02 23:00:43 Something about web apps being more important Oct 02 23:00:53 or, javascript.... i guess i could be wrong Oct 02 23:01:02 .but that's what I'd like to think. Oct 02 23:01:07 1st I heard of that Oct 02 23:01:12 lol Oct 02 23:01:24 I rather think this is android 4.5 also :) Oct 02 23:05:40 Is it possible to use a shapedrawable from XML to draw in onDraw of a custom view? Oct 02 23:06:13 well you can grab a drawable through resources and maybe either draw that of gen a bitmap ? Oct 02 23:06:20 yeah Oct 02 23:06:22 i am just wondreing Oct 02 23:06:35 cant remember, I may have done it…but then maybe not Oct 02 23:06:37 will it for instance, know how to generate the bitmap? Oct 02 23:06:52 ie i have a shaedrawable that needs to span entire view width Oct 02 23:07:11 if i decodeResources, will it create a bitmap that does or how does shapedrawable turn into bitmap you know what I mean? Oct 02 23:07:19 yeah Oct 02 23:07:21 and no Oct 02 23:07:24 not sure... Oct 02 23:09:24 actually no, not sure you can do that at all …maybe because whatever drawable you have you could easy re-create layers or even parse the xml yourself Oct 02 23:09:44 and gen the shap/paint for it Oct 02 23:09:49 shapes* Oct 02 23:16:19 lasserix https://speakerdeck.com/cyrilmottier/mastering-android-drawables you see this? Oct 02 23:17:59 I see nothing spectacular about L, other 3.0+ and 4.0+ releases failed to impress me and L is doing even worse Oct 02 23:18:59 ravilov what are you Oct 02 23:19:25 ravilov I like the view <> activity passing stuff (though not looked into it yet) but I look forward to being able to include it in my app/s in a few years :) Oct 02 23:20:04 JacobTabak, I'm me generally Oct 02 23:20:11 you're such a hater Oct 02 23:20:27 that's nonsense, I don't hate 4.0+ androids Oct 02 23:20:32 StingRay_ my app has that stuff now Oct 02 23:20:36 I just don't care for them Oct 02 23:20:51 JacobTabak writing to bitmaps ? Oct 02 23:21:15 i thought you wre talking about activity transitions and hero elements Oct 02 23:21:22 I am Oct 02 23:21:30 the cross context version Oct 02 23:21:51 Context* Oct 02 23:21:59 yea Oct 02 23:22:05 we just have it version gated for L Oct 02 23:22:13 oh yeah I know that Oct 02 23:22:23 I thought you mean on < L Oct 02 23:22:27 heh nah Oct 02 23:22:32 but you said you won't include it for years Oct 02 23:22:37 like you can't do it if your minsdk < L Oct 02 23:22:43 yeah I know that Oct 02 23:22:57 just i dont want all this version condition crap in Oct 02 23:23:01 hence my comment Oct 02 23:23:07 shrug Oct 02 23:23:53 some things are cool enough that they're worth it ;) Oct 02 23:24:14 i think it will be cool to have all our users open up after upgrading to L and immediately getting these new cool effects Oct 02 23:24:53 yeah well I'm stuck with huge unfixable (shot in the dark) problems at the moment :( Oct 02 23:25:08 so more things to think on than the single L advantage :) Oct 02 23:25:26 well, 1 problem, not problems Oct 02 23:25:49 what kind of problem Oct 02 23:26:08 weby crappy http blaaaa Oct 02 23:26:19 server side logs needed, and chance of that is 0% Oct 02 23:26:39 or getting to talk to someone who can answer questions, chance … 0 % Oct 02 23:27:06 i don't get it Oct 02 23:27:11 mms Oct 02 23:27:22 and t-mobile US Oct 02 23:27:41 400 Bad Request from the MMSC Oct 02 23:27:50 oh yeah Oct 02 23:27:52 that stuff is nasty Oct 02 23:28:02 but only with T-Mobile US Oct 02 23:28:05 i used to work at an sms company... in like 2009 Oct 02 23:28:08 no other carrier Oct 02 23:28:12 its all about making relationships Oct 02 23:28:19 so lame, not fun Oct 02 23:28:36 I'm across a rather large body of water… so even harder to test my ideas :) Oct 02 23:33:23 Sen. John McCain threatened to take away the NFL's antitrust exemption if it doesn't stop blacking out TV broadcasts. Oct 02 23:33:27 non-profit organization my ass Oct 02 23:43:08 is NFL non-profilt? sounds weird Oct 02 23:43:17 * g00s doesn't know crap about sports ;) Oct 02 23:43:50 i was reading that many football players wind up with brain damage. sad sad. Oct 02 23:44:20 * StingRay_ is amused you guys call it football :) Oct 02 23:44:51 if you wanted to steal the name of something, pretty sure you should have made it relevant Oct 02 23:44:59 handball ? Oct 02 23:45:15 You do kick the ball.. occasionally :) Oct 02 23:45:31 sports ... yeah. i guess provide a social good by ways of nationalism, cohesion, bringing people together - but USA sports fans are another type :) Oct 02 23:45:35 ocasionalFootButMostlyHandball Oct 02 23:45:55 SGTM Oct 02 23:46:05 JesusFreke SGTM ? Oct 02 23:46:10 sounds good to me Oct 02 23:46:32 JesusFreke are you one of these young ones, all the new age lingo :) Oct 02 23:46:37 IOTIA Oct 02 23:46:41 (I only talk in acronyms :p) Oct 02 23:46:46 omg you are! Oct 02 23:47:05 it's more of a gerrit-ism than anything Oct 02 23:47:14 there was a bunch of highschool football players standing at the supermarket and wanted to know if i'd like to talk about the program; no i don't don't to talk about such dumbass shit. study your maths ! Oct 02 23:47:46 won't even have a opportunity competing with the burger flipper robots Oct 02 23:48:41 huh, are you allowed to make an app 99% AOSP source and then put it up for sale ? Oct 02 23:48:45 seems wrong Oct 02 23:50:07 StingRay_: there's nothing in the apache license that prevents commercial use Oct 02 23:50:08 yes you are allowed to sell it, no problem with that, but according to the license you must provide full source code upon request Oct 02 23:50:18 ravilov: not with apache Oct 02 23:50:24 ravilov thats not true Oct 02 23:50:29 yeah what JesusFreke said Oct 02 23:50:35 oh Oct 02 23:50:38 must be thinking about GPL Oct 02 23:50:43 I dont really mind the closed source thing, but selling it Oct 02 23:50:48 that is just wrong Oct 02 23:50:58 nothing stops you Oct 02 23:51:32 StingRay_: That's what every android OEM does :) Oct 02 23:51:49 hmmm, not really Oct 02 23:52:21 you get a free OS with every purchase of their device! Oct 03 00:00:12 hmmm http://8s.ms/end-of-the-road Oct 03 00:00:53 BSD and Apache licences rock! Oct 03 00:01:22 i just think it's not all that …well… moral Oct 03 00:01:47 why not ? Oct 03 00:02:28 selling something that maybe collectively 40+ devs worked on and open sourced, without them getting anything … not even credits Oct 03 00:02:41 dunno… guess I'm just like that Oct 03 00:03:02 I dont like seeing people get taken advantage of either Oct 03 00:04:51 yeah but the maker of that chooses the licence in the first place Oct 03 00:06:07 both Apple and Microsoft took from BSD and things are overall better because of it Oct 03 00:06:13 Yeah, by choosing the apache license, you're explicitly giving people permission to do just that Oct 03 00:06:48 although, you are required to give credit, at least :) Oct 03 00:07:09 I respect GPL for forcing open source and credits , it's good for trust and education but I find BSD licence more mature for real world production environments Oct 03 00:11:09 it keeps things simple and nobody has to goto court Oct 03 00:18:19 oh what Oct 03 00:18:32 actionbar tabs will be deprecated on L Oct 03 00:18:50 so how im supposed to make tabs? any guise with viewpager with tab indicator?? Oct 03 00:19:10 srsly halp Oct 03 00:19:11 cliffreich: like most people.. they just create tabs Oct 03 00:19:12 lol Oct 03 00:19:17 use my awesome fragment switcher library Oct 03 00:20:42 cliffreich: https://developer.android.com/samples/SlidingTabsBasic/index.html Oct 03 00:20:44 whats that jacob Oct 03 00:21:12 downloading that napalm ty Oct 03 00:22:05 https://github.com/jacobtabak/Fragment-Switcher Oct 03 00:23:51 looks like it has everything i need Oct 03 00:24:12 oh wait Oct 03 00:24:17 what does? Oct 03 00:24:20 i already have a navigation drawer Oct 03 00:24:22 we don't need no stinkin fragments! Oct 03 00:24:50 lemme know how it works if you try it Oct 03 00:24:58 ok Oct 03 00:24:58 getting lots of stars but very little feedback Oct 03 00:25:05 ty Oct 03 00:36:00 it doesnt download just with gradle, guess its not in maven rep Oct 03 00:36:08 cloning Oct 03 00:39:05 weird cliffreich Oct 03 00:39:21 oh i think i need to do something to move it to maven central Oct 03 00:43:53 ok well anyway it should be available from maven in about 10 min Oct 03 01:01:41 yo Oct 03 01:01:49 is this interesting to anyone? http://g.recordit.co/F9uQjyij4q.gif Oct 03 01:01:53 (it's a gif) Oct 03 01:03:44 it probably is Oct 03 01:04:39 trying to decide if i should open source it Oct 03 01:04:43 JacobTabak function is ok, but as a design element I personally dont like it Oct 03 01:04:49 lol... Oct 03 01:04:51 its an example Oct 03 01:05:01 no I dont mean how you have designed it Oct 03 01:05:07 I mean "sticky headers" Oct 03 01:05:12 sorry should be clearer Oct 03 01:05:26 StingRay_ its very useful for our app Oct 03 01:05:34 (timehop) Oct 03 01:05:45 where you may have 20 pieces of content from 1 year and you always want the context of what year its from Oct 03 01:05:56 see thats what I'm thinking …from a user who happens to be a designer :) Oct 03 01:06:05 I think there are better ways to do that Oct 03 01:06:11 i'm all ears Oct 03 01:07:11 well I will tell you when I come round to designing it :) Oct 03 01:08:04 not there yet…or not had to think… I just know that a moving anchor for info that is transient in motion the way that they are… I just think it's more "show off" than "useful"… dunno though, just my feeling at this moment Oct 03 01:08:06 :) Oct 03 01:08:44 looks ok, fit for purpose, suppose… but sure there are better ways for the "purpose" Oct 03 01:08:58 this is how it looks in the app Oct 03 01:08:59 https://www.youtube.com/watch?v=O1paNAL7XnM Oct 03 01:09:22 usually there would be much more content spanning many years Oct 03 01:10:02 yeah, I mean it kinda works, but from an arty view I dont like the "concept" Oct 03 01:10:19 on a bright side I had this as a tile continuation on that vid https://www.youtube.com/watch?v=BUREX8aFbMs Oct 03 01:10:21 wow! Oct 03 01:12:24 whoooah volcano Oct 03 01:12:46 lol delayred reaction Oct 03 01:12:48 on the shock thing Oct 03 01:13:02 I just like the pressure differential creation the flash clouds, looks awesome to see it Oct 03 01:14:02 and look at the base, near the water… they are city building sized boulders … wicked splashes :) Oct 03 01:18:54 is it acceptable to do resource acquisition in constructors for android app components? I would think this would be generally discouraged since you have onCreate/onDestroy. But I’m curous what others think Oct 03 01:20:42 what do you mean by resource acquisition Oct 03 01:22:34 am I here? Oct 03 01:23:34 well there’s resource acquisition and dependency injection. I would think dependency injection is okay, but it might lead you down a path to building objects that are structure under an RAII approach Oct 03 01:23:54 JacobTabak something like Oct 03 01:24:10 don't use DI in constructors Oct 03 01:24:16 for android components Oct 03 01:24:18 MyService(MyDependency dep) { this(); mMyDep = dep; } Oct 03 01:24:32 and of course a default constructor: Oct 03 01:24:40 don't do that Oct 03 01:24:48 inject in onCreate Oct 03 01:24:49 MyService() { this(MyDep.get()) } Oct 03 01:25:01 JacobTabak yeah that’s what I would think. Oct 03 01:25:21 do you know if this coloquializm is asserted anywhere I can reference? Oct 03 01:25:43 s/this()/super() in my first line of code Oct 03 01:26:49 are you using dag ger Oct 03 01:27:00 no, just writing testable code (; Oct 03 01:27:40 well in my apps i often have dependencies on things that require context Oct 03 01:27:51 if you do it in a constructor, no guarantee that will be set up yet Oct 03 01:28:29 exactly. I’d like to do it onCreate. The opposing point would be if you have pure java objects that don’t have context deps, you could do it in the constructor Oct 03 01:29:02 I don’t want to go down that road, really, so I need ammunitions as to why it’s bad. Oct 03 01:29:32 consistency? Oct 03 01:29:49 that’s a good point. Oct 03 01:30:23 ideally I want all my dependencies obtained through my application context so that they can be mocked Oct 03 01:30:43 but that argument breaks down for non-context-dependent-dependencies Oct 03 01:30:54 consistency is a good point though Oct 03 01:31:03 who is this argument with? Oct 03 01:32:35 I mean it’s not heated or anything yet. But I will be suggesting this approach to someone with a lot of java experience and less android knowledge. this person is an uncle bob disciple and so most of our code is immutable final fields with constructor level dependency injection. Oct 03 01:32:45 this is overall a good thing. Oct 03 01:33:24 but breaks down when interfacing with android components Oct 03 01:33:36 well, a workaround would be to use a presenter Oct 03 01:33:43 yes. Oct 03 01:34:14 so just inject the presenter into activity in oncreate Oct 03 01:34:15 orw/e Oct 03 01:34:17 but we still have android impls Oct 03 01:34:20 nice compromise Oct 03 01:34:32 we do MVP Oct 03 01:34:45 but at the end of the day we can’t remove ALL the logic from android components unless you replicate the android framework (; Oct 03 01:34:59 you can Oct 03 01:35:08 new project so we’re still navigating these waters Oct 03 01:35:59 our activities already follow mvp and just set view state. but I need to say return START_STICKY from a service Oct 03 01:36:47 unless I replicate those constants, then I have to trust my service to return the correct value from onStartCommand, for example. Oct 03 01:37:09 and I consider that logic, albeit minimal Oct 03 01:58:35 man, for a bunch of hackers, news.ycombinator.com has to be one of the craptastic websites i endure Oct 03 01:59:03 GET /item?id=8365973 HTTP/1.1" "() { :;}; shutdown -h now" Oct 03 01:59:04 LOL Oct 03 01:59:23 yah... I don't read it as much as I used to Oct 03 02:00:33 wonder if that's ever worked :S Oct 03 02:00:44 btw StingRay_ did you know the people app in 4.0+ uses sticky list headers? Oct 03 02:01:12 yes I do Oct 03 02:01:54 contextually a waste … I'm a bit picky when it comes to mobile UI space :) Oct 03 02:06:00 I see devs with PO Boxes on play store :) Oct 03 02:06:08 you fkers ! Oct 03 02:09:36 whats the best way to ensure that access to a HashMap are synchronized? Oct 03 02:09:47 i want to be able to add/remove items from it and potentially multiple threads Oct 03 02:11:35 ConcurrentHashMap ? Oct 03 02:11:49 that will be $2 Oct 03 02:12:00 haha Oct 03 02:12:06 Damn you loch ness monster, you aint getting no 2$ Oct 03 02:12:10 good answer Oct 03 02:12:35 capella cmon man, pay for my PO box bro ... Oct 03 02:12:50 I thought PO boxes were not allowed Oct 03 02:13:20 StingRay_ in fact, google simply does not know what the fuck is allowed - if you ask them Oct 03 02:13:27 lol Oct 03 02:13:43 I should draw a cartoon strip of just that Oct 03 02:13:50 they linked to a PDF outlining EU policy, which itself was vague Oct 03 02:22:27 ok its in your hands people https://github.com/timehop/sticky-headers-recyclerview Oct 03 02:24:33 JacobTabak: that in central? Oct 03 02:24:40 no i just uploaded it to github Oct 03 02:24:42 its very alpha Oct 03 02:24:53 Looks really good way better than what I have been using Oct 03 02:25:06 what have you been using? Oct 03 02:25:44 https://github.com/applidium/HeaderListView Oct 03 02:25:58 no video in the github Oct 03 02:25:59 laaaame Oct 03 02:26:01 It's okaym, but it abstracts out the onScrollListener Oct 03 02:26:12 this is nice because it doesnt require any custom work on the reyclerview Oct 03 02:26:17 its just a decorator Oct 03 02:27:07 Nice, I'll give it a try Oct 03 02:54:34 Hi Oct 03 02:55:06 Will v4 support library work on API 1? Oct 03 02:57:48 MalekAlrwily it works on api 4 Oct 03 02:58:03 oh Oct 03 02:58:34 will it be included with my app automatically by ADT? Oct 03 02:58:39 JacobTabak: ^ Oct 03 02:58:42 no. Oct 03 02:58:55 its not part of the platform Oct 03 02:59:02 it's a library you'd have to add as a .jar Oct 03 02:59:10 I see "android-support-v4.jar" in libs Oct 03 02:59:15 but I have not add it Oct 03 02:59:33 ok it was probably added as part of the new project wizard Oct 03 02:59:41 or something, i don't do ADT/eclipse so not sure **** ENDING LOGGING AT Fri Oct 03 03:00:00 2014