**** BEGIN LOGGING AT Tue Dec 22 02:59:58 2015 Dec 22 03:20:27 I'm working on a custom camcorder app, and I'm using the following after stopping recording to have it note the new media file so the Photos app can see it: Dec 22 03:20:28 sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse("file://" + outputFilePath))); Dec 22 03:21:00 Unfortunately, although this doesn't fail, it also doesn't appear to do anything useful. I find the written video, but the Photos app still doesn't see it. Dec 22 03:24:33 davidmichaelkarr, lots of things can go wrong there.. Dec 22 03:25:03 pfn: I can imagine. Can I somehow make this more verbose so I can see more information? Dec 22 03:25:43 you can use MediaScannerConnection Dec 22 03:28:01 pfn: Ok, is this a reasonable way to do it? http://stackoverflow.com/questions/4646913/android-how-to-use-mediascannerconnection-scanfile . Dec 22 03:28:52 pfn: Is this really going to give me more information? Seems to me all it could tell me is if it does NOT call "onScanCompleted()". Dec 22 03:29:26 * pfn shrugs Dec 22 03:29:28 try it and find out Dec 22 03:36:39 Hello I need help with some code that is meant to log details about SMS/MMS messages Dec 22 05:34:37 hello i just had to run 2.5 mile before i could get my head up enough to even enter this channel , can anyone direct me to atleast a link to better describe how to multiply 2 numbers(decimals) in a MainActivity.java for android Dec 22 05:38:30 so basically i have three editTexts i already changed the input type to decimals Dec 22 05:39:22 How to multiply two decimals? Dec 22 05:39:47 in most cases yes Dec 22 05:40:08 What's hard about that? Dec 22 05:40:33 basically im building a work valuse calculator for android so w = f*d Dec 22 05:40:58 so if you weigh 270 lbs and you run 2.5 miles you do that much work Dec 22 05:50:01 hmm, what's a good domain to represent scala on android Dec 22 05:50:18 pfn: If it matters, it does call "onScanCompleted", but that doesn't tell me anything. Dec 22 05:50:58 http://pastebin.com/3pM8pNYi Dec 22 05:51:10 davidmichaelkarr, presumably, it's because you passed in the wrong path Dec 22 05:55:35 pfn: if you were from Laos, you could use android-sca.la :v Dec 22 05:56:32 my gf's boss is from Laos... Dec 22 06:00:20 hmm, how about scala-jawa.com Dec 22 06:22:26 Hey i am having a really hard time getting Gimbal SDK to work. Its crashing my service the entire time. Anybody has any idea about Gimbal ? Dec 22 06:44:37 hi guys Dec 22 06:44:53 I have an android kitkat4.4.2 development board Dec 22 06:45:36 I have an android kitkat4.4.2 development board. I need to connect a USB HID racing wheel device into it. How can I make it functional? How can I root the device? Dec 22 07:01:32 @kanupatar does the board have a USB port? Dec 22 07:37:46 hey all.. Dec 22 07:38:50 I want to pass data from an activity to launcher activity without actually visiting to that sender activity Dec 22 07:39:01 is it possible? Dec 22 07:43:34 Hey i am having a really hard time getting Gimbal SDK to work. Its crashing my service the entire time. Anybody has any idea about Gimbal ? Dec 22 09:04:26 hi guys, I have an android sabrsd kitkat 4.4.2 board, How can I root the board? Please help me.. Dec 22 09:05:39 kanupatar, #android-root Dec 22 09:06:32 realies: thanks Dec 22 09:06:51 how to make a screenshot on android device? Dec 22 09:07:18 rrr, depends on the device, usually its something like volume (-) and lock button pressed simultaneously Dec 22 09:07:41 realies: where is lock button? Dec 22 09:08:02 rrr, the one that you lock your screen with Dec 22 09:08:28 realies: i am using Nexus 5 Dec 22 09:08:56 realies: volume and power button Dec 22 09:09:15 rrr, good Dec 22 09:09:39 is volume(-) and power button? Dec 22 09:09:54 what? Dec 22 09:11:04 making screenshot Dec 22 09:11:23 pressing volume(-) and power button does not seem to work Dec 22 09:11:54 http://lmgtfy.com/?q=nexut+5+screenshot Dec 22 09:26:00 realies: thanks. it works Dec 22 09:27:13 realies: so how snapshot prevent screenshot pictures? Dec 22 09:27:31 I don't get what you mean Dec 22 09:27:51 Hey guys I am using a FileOutputStream in my app but I can not seem to find file that it has saved the data. No matter what I do ... It is there because it is reading from the file inside the app. I have root priviliges and I have tried using grep Dec 22 09:28:28 does the app snapshot prevent screenshoting the temp pictures? Dec 22 09:28:46 realies: do you know snapshot app? Dec 22 09:28:54 nope Dec 22 09:29:32 realies: Do you know anything about the Gimbal SDK ? Or maybe know someone ? Dec 22 09:29:36 who does Dec 22 09:30:07 nope, never had done apps for mobile Dec 22 09:30:31 cart_man, the interwebs would probably know alot Dec 22 09:31:48 realies: Well I have tried everything on the txt file im trying to read... Can not even find my package name int the data/data file like everyone says... even with permissions set right. On the Gimbal side.. .theres nothing on interwebs accept their Docs that are ....well... very limited and no support email Dec 22 09:33:45 cart_man, http://www.gimbalgame.com/forum/viewtopic.php?f=3&t=218 ? Dec 22 09:41:00 realies: Hmm think that is for the game unfortunately : / Dec 22 09:57:19 realies: The game looks pretty cool though \ Dec 22 09:57:26 have no idea Dec 22 10:13:59 hello guys Dec 22 10:14:10 is it possible to blend two music tracks? Dec 22 10:14:24 blend/mix Dec 22 10:14:43 I have smooth track transitions on my mind Dec 22 10:15:29 I read that is impossible to stream more than one track so I am wondering how it is possible to blend tracks. Dec 22 10:18:25 So is "Trusted execution environment" something that only manufacturer (system) can use ? Dec 22 11:03:11 Anyone can help whit this? -> https://www.reddit.com/r/androiddev/comments/3xtmf4/what_sdks_that_require_the_supply_of_hash_key/ Dec 22 11:09:11 extmkv what do you mean with hashkey Dec 22 11:10:47 an api key? Dec 22 11:10:52 Android hash key(SHA1)... Dec 22 11:11:09 I think hes talking about any API that needs some authorization Dec 22 11:11:18 in a weird way Dec 22 11:12:01 so its basically every library that is used for communication with a backend Dec 22 11:12:10 extmkv, I think you are confused about some of these terms Dec 22 11:12:16 ie parse.com Dec 22 11:13:44 if you sign a APK(Using google maps) with a debug.keystore you need to provide your debug hash key, right? Dec 22 11:14:02 extmkv, no Dec 22 11:14:06 no? Dec 22 11:14:14 you need to provide an api key Dec 22 11:14:21 in this case your google play store key Dec 22 11:14:38 or your debug.keystore... Dec 22 11:14:42 but i think this is not your debug keystore key Dec 22 11:14:52 extmkv, where does it say that Dec 22 11:16:08 I was giving an example. You can have both , or whatever you want .. Dec 22 11:16:44 google maps does not care about how and even if your apk is signed Dec 22 11:16:50 it used the key you give it in code Dec 22 11:17:13 wth Dec 22 11:17:33 collapsingToolBarLayout override (hides) bottom view... Dec 22 11:17:35 why& Dec 22 11:17:37 ? Dec 22 11:18:23 extmkv, wait.. Dec 22 11:18:27 they seem to have changed that Dec 22 11:18:30 Hey Dec 22 11:18:33 I just reread the docs Dec 22 11:18:43 .... Dec 22 11:18:58 extmkv, ah no. Dec 22 11:19:14 the api key for maps is derived from the signed key by google play Dec 22 11:19:16 so TableLayout shrinks or hides when collapsingLayout is big Dec 22 11:19:16 but its not the same Dec 22 11:19:19 you cant use a debug key Dec 22 11:19:26 yah Dec 22 11:20:13 and if you obtained a key once, and reuse it with a differently signed app, this will work too i think Dec 22 11:20:24 so its not ´bound´ to the certificate Dec 22 11:20:38 My question is : Does anyone know more SDK 's that need to be provided the hash key? Dec 22 11:21:45 extmkv, google cloud messaging probably Dec 22 11:21:56 not sure though Dec 22 11:22:33 games services maybe Dec 22 11:22:38 GCM doesn't work like that Dec 22 11:22:43 i´d check out all the google services Dec 22 11:22:47 some of them might use it Dec 22 11:23:24 I want to have a periodic task that runs only when the app is up, any suggestions? Dec 22 11:23:36 derenio, use a service that starts when the app is up Dec 22 11:24:40 hm.. seems like the new fast-adb doesnt work on api level 16 emulators :s Dec 22 11:24:42 that sucks Dec 22 11:25:08 danijoo: will the service stop when the app is paused/stopped? Dec 22 11:25:30 derenio, if you make it stop or it gets killed, yes Dec 22 11:26:14 danijoo: what is the most reliable way to determine if the _whole_ app paused/stopped? Dec 22 11:27:06 if I know that I can schedule a task with the AlarmManager and in it just check if app is up Dec 22 11:27:09 hm.. theres not really a good way. you could register an activityLifecycleCallback in application class and count activity starts/stops Dec 22 11:27:18 if the counter is 0, your app is in background Dec 22 11:28:41 danijoo: already doing that, but I would still have to mitigate race conditions, also it isn't quaranteed that onStop will be called afair Dec 22 11:29:04 derenio, if it isnt called, you dont have to care Dec 22 11:29:19 because that means your app is killed - and your service too if it lives in the same process Dec 22 11:30:05 danijoo: right, good point Dec 22 11:31:38 should I use handler's to loop the task or is it doable/good practice to unregister from AlarmManager during the scheduled execution of the task? Dec 22 11:32:51 why do you need an alarm manager if its only running if your app is up? Dec 22 11:32:57 you can start it on startup of your app Dec 22 11:34:47 danijoo: true, on the spot again, I didn't want to wake the device unnecessairly though it would happen at most once Dec 22 11:35:36 but I wanted to use AlarmManager to loop the task, currently I'm using someHandler.postDelayed Dec 22 12:16:34 hi Dec 22 12:18:48 hi bolovanos Dec 22 12:19:56 extmkv, how is it going in Portugal? Dec 22 12:33:32 Hi, I've got a problem on my main class. I have a private String attributes named identifiant set to "default" and I want it to change to "toto" in onCreate but it's not working (no errors but identifiant is still equals to "default"). Why ? :/ Dec 22 12:34:20 is OnCreate called? did you check in the debugger? Dec 22 12:34:45 also: post the code Dec 22 12:34:45 joedu12, let me check my crystal ball.. Dec 22 12:35:53 ktwo : http://pastebin.com/1CR4cfAG Dec 22 12:36:23 ktwo : i've just find my problem... excuse me : I use identifiant before the onCreate Dec 22 12:36:48 meh. cant debug code in foreign languages.. Dec 22 12:38:46 excuse me, but my problem is solved, thanks for your help Dec 22 12:51:57 http://stackoverflow.com/questions/33323717/content-inside-toolbar-not-collapsing-scrolling-if-content-height-higher-than-di Dec 22 12:52:26 is it posible to have appBarLayout more than screen size? Dec 22 12:55:47 I have installed AS on new PC, my goal is to move settings from older PC. I have copied /home/user/.AndroidStudio1.5 to same location on new PC - it seems to be working, but I would like to change location of Default project directory Dec 22 12:55:55 I have found http://stackoverflow.com/questions/17800615/android-studio-default-project-directory so far Dec 22 12:56:38 but maybe there is something better / final solution Dec 22 13:10:39 bolovanos, don't know where are the settings. But make a symlink to any, or ten, location you like Dec 22 13:58:07 I just started using rxjava for a task to process two files from the assets directory, one is an apk to install the other is a file to be copied to the downloads directory, and it got ugly real quick Dec 22 13:58:17 probably because of my noob level rxjava Dec 22 13:58:28 https://gist.github.com/anonymous/6f1e23ebc0e6fc2ead37 Dec 22 13:58:42 I'm trying to achieve something that looks like this http://imgur.com/VODYapW Dec 22 13:59:41 my question is how do I achieve an observable that takes the result of two paths onSubscribe and produces a single result? Dec 22 14:01:02 instead of a parallel type of flow, the gist I posted is more of a sequential one, where it does the first app, then the second Dec 22 14:01:14 because I couldn't figure out how to combine the results Dec 22 14:03:36 vegetablesalad19, it workd - such straight forward solution, but nobody mentioned it on stack - thank you Dec 22 14:06:16 bolovanos, it's not quite a solution, but a good workaround, glad it helped. Symlinks are very useful Dec 22 14:55:02 my phone has an upgrade available Dec 22 14:55:10 I also want to factory reset it Dec 22 14:55:18 which do I perform first? Dec 22 14:57:33 RustyShackleford, I'd update and factory reset Dec 22 14:57:45 (if your phone is 100% stock and not rooted) Dec 22 14:58:30 grr they put so much bullshit on the galaxy s5 Dec 22 14:58:38 samsung/verizon bloatware Dec 22 14:59:21 there are 6 gigs under "miscellaneous files". I looked around in a file browser and don't see anything that should add up to more than a few MB Dec 22 14:59:24 yea samsungs are bloated, but its nothing new xD Dec 22 14:59:41 its been like that since the i9000 but people don't care and still buy them like mad Dec 22 15:04:40 RustyShackleford, nice nick Dec 22 16:10:09 have any of you ever successfully gotten android pay working on a rooted phone? Dec 22 16:11:41 snitchmbl, wrong channel Dec 22 16:11:49 any tips for a workaround? i tried hiding the su binary and locking my bootloader but android pay keeps saying it can't confirm if i'm using a supported device. it worked fine before i unlocked and rooted Dec 22 16:12:01 i tried #Android-root Dec 22 16:12:09 nobody seems to know much Dec 22 16:12:18 this is #android-dev Dec 22 16:12:38 do you also askin every other unrelated channel then? Dec 22 16:12:39 this was my last resort :| and i did google Dec 22 16:12:40 snitchmbl if the bank is closed do you go to your dentist for a loan ? Dec 22 16:12:40 #cars? Dec 22 16:13:04 guys, I'm having trouble getting my christmas turkey to cook through - any advice? Dec 22 16:13:22 if it's not cooked soon, wait longer Dec 22 16:13:45 anyways i see the attitude, sorry for bothering Dec 22 16:14:32 simple answer: don't root Dec 22 16:14:49 speaking of, does unlocking the bootloader on nexus disable android pay? Dec 22 16:16:39 I have a google map setup in a map fragment and I need to add a sliding control underneath that will increase and decrease the circle radius Dec 22 16:17:00 anyone have suggestions on how to get this done? Dec 22 16:17:55 crap, requestPermission callbacks don't work in DialogFragments either Dec 22 16:17:56 nope, doesn't disable, that's great Dec 22 16:18:55 oh, hmm, maybe I didn't unlock my nexus 9 Dec 22 16:19:18 * pfn reboots to see Dec 22 16:19:54 yeah, I didn't unlock, that's annoying... Dec 22 16:20:14 I am working with the flavours in my app i have facebook login which i have defined in manifest due to this I am not able to install different flavours within same device Dec 22 16:20:29 any suggestion Dec 22 16:20:31 min2, use applicationId to split up flavors Dec 22 16:21:12 @pfn could you elaborate Dec 22 16:21:34 min2, google android gradle applicationId Dec 22 16:21:58 ok Dec 22 16:22:00 thanks Dec 22 16:43:47 hi there, I am trying to put some ads in my app Dec 22 16:44:00 but in the line AdRequest adRequest = new AdRequest.Builder().build() I get an error "Cannot resolve symbol Builder" Dec 22 16:47:05 check your imports Dec 22 16:47:28 yapme you aren't importing the Builder class within the AdRequest class. Dec 22 16:47:39 yapme check your imports Dec 22 16:48:06 it's the christmas spirit. jesus hates ads. Dec 22 16:48:29 huehuehue Dec 22 16:48:59 as a carpenter, he can't abide by that building Dec 22 16:52:32 hi Dec 22 16:52:43 how i can run gradle -stop in android studio>? Dec 22 16:54:48 in all of google's tutorials they only have 2 imports, which I have Dec 22 16:55:29 Hi guys, I'm looking for some help regarding an issue of an unofficial cyanogenmod 12.1 branch. The issue is described here: http://forum.xda-developers.com/verizon-lg-g3/help/cm-12-1-connect-to-pc-via-usb-t3119898 Dec 22 16:55:43 Is there any option I could use to manually set the connection mode from "charging only" to MTP/PTP or something else Dec 22 16:56:02 I've got root permissions and a recovery system installed, so modifying a conf file would be no problem to me. Dec 22 16:56:13 I just need to know where I can find this conf file or any other workaround. Dec 22 16:56:51 seppi91, i'd try #android-root or the xda forums, we're appdev centric here Dec 22 16:57:39 yapme you have this imported right --> import com.google.android.gms.ads.AdRequest; Dec 22 16:57:39 import com.google.android.gms.ads.AdView; Dec 22 16:57:50 I have Dec 22 16:57:53 hey everyone Dec 22 16:58:12 when iis need use event bus? Dec 22 16:58:15 @dragorn I will try. Thanks! Dec 22 16:58:46 does anyone know about Samsung's MST implementation? I found a funny looking device, /dev/mst_ctrl, but I'm kind of stuck now Dec 22 16:58:47 yapme is this in your gradle dependencies --> compile 'com.google.android.gms:play-services-ads:8.4.0' Dec 22 16:58:53 yes Dec 22 16:58:54 8.3.1 Dec 22 16:59:01 8.3.0 actually Dec 22 16:59:05 kick it up to 8.4 Dec 22 16:59:21 yapme sync and clean/build Dec 22 16:59:25 already solved Dec 22 16:59:38 yapme alright then nevermind Dec 22 16:59:46 I was import com.google.ads.AdRequest Dec 22 16:59:49 instead of com.google.android.gms.ads.AdRequest Dec 22 17:00:04 and when I tried to import the 2nd one it would prompt an error Dec 22 17:00:06 thank you Dec 22 17:00:33 np Dec 22 17:05:29 if you wanted to make a GPS app (hypothetically) that recorded fine grain GPS location data - is that even possible these days ? i did it in froyo, but i'm worried about asking for exemption from battery optimizations Dec 22 17:05:49 i'm not making a GPS app, but a function of my existing app requires that kind of behavior Dec 22 17:05:54 arguably doze won't trigger if you're moving Dec 22 17:06:07 it's only supposed to fire up when the device is on a table Dec 22 17:06:16 dragorn ah, good to know ! Dec 22 17:06:22 at least, that was my understanding Dec 22 17:06:29 also if you can put the screen on Dec 22 17:06:31 you're fine Dec 22 17:06:34 hope the hiker doesn't stop for any breaks Dec 22 17:06:40 ah, hiking Dec 22 17:06:59 anyhow, yeah - afaik it only dozes when it's not moving Dec 22 17:07:09 yeah, don't want to put the screen on. cool thanks dragorn Dec 22 17:07:27 it will be in a foreground service + notification Dec 22 17:07:44 and yes, this is terrible Dec 22 17:08:17 would be cool if the GPS hardware could just accumulate points and then hand them off to the host CPU Dec 22 17:08:33 so that I didn't have to keep the device on with partial wakelock Dec 22 17:10:11 dragorn is there any way to detect if the user has gone into settings, and exempt your app from battery optimizations manually ? Dec 22 17:10:46 i believe you can only prompt the user to exempt you if you have the permission google hates Dec 22 17:11:04 i'd like to show a toast if i don't have it Dec 22 17:11:09 don't know, sorry Dec 22 17:11:13 ok thanks Dec 22 17:11:18 check the powermanager and packagemanager api Dec 22 17:20:50 g00s, the foreground service bypasses doze mode Dec 22 17:21:11 Hey all, just started learning Espresso. Reading through the docs it sounds like tests should wait for asyncTask to finish before moving on to further steps/assertions. In my app, I have the response of one AsyncTask triggers another one, and I want to wait for the second task to return before having my test continue. Is there an easy way to do this or will I have to look into using IdlingResources ? Dec 22 17:21:36 Well idling resources are the easy way to do it :) Dec 22 17:21:57 hehe, but that would be the correct approach ? Dec 22 17:22:14 rxjava Dec 22 17:22:22 asynctasks don't compose Dec 22 17:22:38 They sound a little harder than having it just work :P Dec 22 17:23:44 RxJava is easy Dec 22 17:24:05 or if it's too big, you can use my futures library which is considerably simpler Dec 22 17:24:32 For reasons outside of my control I am pretty much stuck with AsyncTask Dec 22 17:24:37 https://github.com/pfn/android-futures Dec 22 17:24:46 no one is stuck with async task Dec 22 17:24:52 unless it's. a. school assignment Dec 22 17:25:38 nope, thanks tho Dec 22 17:30:04 how do I reference a viewpager from a fragment that is created by that viewpager ? any ideas ? is it even possible ? Dec 22 17:30:31 Doesn't sound like a good idea. Dec 22 17:31:11 I have a button inside a fragment, that when pressed should move the current item to item no.4, button is on item no.2 Dec 22 17:31:32 Then tell the activity to show another tab. Dec 22 17:31:32 pfn i saw oreilly's DOTD and thought it was about concurrency :P http://shop.oreilly.com/product/0636920036289.do?code=MSDEAL Dec 22 17:31:37 I know man, but I have to do it Dec 22 17:31:38 It's the activity that owns the viewpager. Dec 22 17:31:45 yes Dec 22 17:31:56 but how to reference that activity than Dec 22 17:32:04 seems impossible Dec 22 17:32:05 getActivity Dec 22 17:32:29 the impossible, made possible Dec 22 17:32:40 activity -> viewpager -> fragment, calling getActivity() from that fragment will not return the Activity I need Dec 22 17:32:47 of course it does Dec 22 17:33:11 avange: what do you think it will return Dec 22 17:33:39 hmm idk, did not work , I'll try it again ... maybe I screwed up Dec 22 18:09:37 not sure how to ask this.... but the statusbar in my app has changed to white and i cannot see anything in it anymore. Any idea how my code did that? Note: i never called setStatusBarColor Dec 22 18:12:21 avange: You should use a FragmentStatePagerAdapter and overridde the getItemPosition method. When you want to change the position of the view call notifyDataSetChanged on the adapter Dec 22 18:19:22 * pfn keeps refreshing fedex tracking Dec 22 18:19:37 9:11 am On FedEx vehicle for delivery SUNNYVALE, CA Dec 22 18:21:05 pfn what’re you getting? Dec 22 18:21:11 6p Dec 22 18:21:18 pfn don't they have push notification :P Dec 22 18:21:44 BAD UX. Dec 22 18:22:34 gonna add fingerprint detection for keepshare, heh Dec 22 18:22:39 that's gonna be fun Dec 22 18:23:37 Hey how do I print out a stack trace to a string? Dec 22 18:23:58 Or when I get an Exception what should I call to get it in string form e.printStackTrace() ? Dec 22 18:24:24 e.printStackTrace(PrintStream) Dec 22 18:24:38 write to a BAOS and newString(toByteArray) Dec 22 18:24:48 pfn: PrintStream being the String variable? Dec 22 18:24:55 no Dec 22 18:26:38 pfn: this is your app? :o Dec 22 18:26:52 one of them is keepshare Dec 22 18:28:53 oh, thought you said what Dec 22 18:29:01 storkme, and what do you mean by "this is your app?" Dec 22 18:29:01 pfn: That does not seem to work ... printStackTrace(PrintStream); Dec 22 18:29:11 cart_man, read the api and do it correctly Dec 22 18:29:27 what is the PrintStream? Is it s type ? Dec 22 18:29:36 read the javadoc Dec 22 18:29:45 looks very slick. is it scala? Dec 22 18:29:50 storkme, yes Dec 22 18:30:09 just about all of my personal apps are written in scala Dec 22 18:30:13 with several small exceptions Dec 22 18:31:08 does it only work with gdrive? Dec 22 18:31:56 it works with anything that supports SAF Dec 22 18:32:05 onedrive, box.net, gdrive, etc. Dec 22 18:32:11 dropbox is an asshole and doesn't implement SAF Dec 22 18:32:11 dropbox? Dec 22 18:32:13 ugh Dec 22 18:32:18 figures Dec 22 18:32:21 unless it's changed recently Dec 22 18:32:24 * pfn doesn't use dropbox Dec 22 18:32:30 * pfn endorses box, onedrive and gdrive Dec 22 18:32:46 one could write their own WebDAV SAF implementation, or sftp, etc. Dec 22 18:32:47 Eww box :) Dec 22 18:33:02 box.net has considerably better enterprise offerings Dec 22 18:33:08 if i ever switch from droopbox i'd buy that Dec 22 18:33:10 oh, and they're also a scala shop, heh Dec 22 18:33:23 but unrelated to my recommendation of them Dec 22 18:33:45 storkme, just beg dropbox to add SAF support Dec 22 18:34:10 Their software is however rather subpar. Dec 22 18:34:12 https://www.dropboxforum.com/hc/en-us/community/posts/203573563-Android-Storage-Access-Framework-support Dec 22 18:34:14 more votes, need Dec 22 18:34:28 how does it keep synced? like if you have the db open and a new version of the db, what happens? I guess you need to reload the whole db and unlock it again? Dec 22 18:34:36 storkme, basically Dec 22 18:34:53 storkme, it uses the internal keepass sync mechanism for synchronizing copies Dec 22 18:35:07 crap i thought dropbox implemented SAF :( Dec 22 18:35:18 so i guess i have to add their fat jar now instead Dec 22 18:37:23 of course, gdrive sucks at detecting that changes have occurred... so their saf implementation is a little shitty Dec 22 18:37:27 (changes in cloud copy) Dec 22 18:39:21 is there some repository out there of simple morphing vector-drawables, like the hamburger->back one Dec 22 18:39:34 I'm looking for something that can morph between an X and a check Dec 22 18:40:35 or some magic program/script that can take two path specs and make them similar enough to be morphed without changing the appearance.. Dec 22 18:55:41 https://github.com/bonnyfone/vectalign looks promising Dec 22 19:04:25 lol it worked I guess Dec 22 19:04:30 but damn if it doesnt look like shit Dec 22 19:04:34 guess computers are not very creative Dec 22 19:46:54 Anybody familiar with the VideoView ? Currently it is possible for the native Video player to stream audio from a RTSP. Can the VideoView do something similar? Dec 22 19:57:07 Hi! I've installed AndroidStudio and the Android SDK on a Linux system for the first time, hence do not have much experience with the Android Development. The problem that I have is that whenever I start the emulator with an previously created AVD I see only a black screen in the emulator. Dec 22 19:59:24 I've started the emulator with host gpu support turned off and on, but this also didn't help. Dec 22 20:02:16 miglo, wait 20 minutes Dec 22 20:02:22 What I've also tried was to created an AVD based on Google API Intel x86 Atom System Image and the Atom_64 variant. Dec 22 20:02:41 linux doesn't have haxm, so you have to install whatever accelerator for emulators works on linux Dec 22 20:03:31 I'm also wondering that the AVD manager also complains that those images might not be installed. Dec 22 20:07:18 Hm, the kvm module is loaded and I'm using the following options to start the emulator: -netdelay none -netspeed full -gpu off -avd AVD_for_Nexus_5_by_Google -debug-init -logcat '*:v' -qemu -m 1024 -enable-kvm Dec 22 20:08:11 Anybody familiar with the VideoView ? Currently it is possible for the native Video player to stream audio from a RTSP. Can the VideoView do something similar? Dec 22 20:11:34 no Dec 22 20:17:37 http://blog.jetbrains.com/kotlin/2015/12/kotlin-1-0-beta-4-is-out/ Dec 22 20:18:39 I was hoping they'd release 1.0 on Xmas Day, but I guess that's out of the question now. Dec 22 20:20:08 TacticalJoke are they going to do Release Candidates after the betas ? Dec 22 20:20:57 Hmm, can't remember whether they said. Dec 22 20:21:00 hurry up fedex truck Dec 22 20:21:02 I want my new toy Dec 22 20:21:30 pfn should have ordered it by done :D Dec 22 20:21:33 *drone Dec 22 20:21:56 Yeah RC before 1.0 Dec 22 20:22:20 g00s: I was looking at Macs today. What do Mac people do for opening links in tabs? Seems there's no official middle-click. Dec 22 20:22:38 cmdclick... Dec 22 20:23:18 same as windows ctrl + click Dec 22 20:24:27 TacticalJoke safari and FF also have the idea of 'pinned' tabs, a normal click in those will open a new tab. useful for like, twitter, etc when you leave those open Dec 22 20:24:46 I was Cmd-clicking in the shop. So tedious. :/ Dec 22 20:25:06 The three-finger-swipe stuff was great, though. Dec 22 20:25:11 g00s: That sounds handy. Dec 22 20:25:44 macs touchpad is awesome, i only use the mouse for precision like when drawing Dec 22 20:27:30 cbeust are you using sourcetree 2.1? since i updated to this its not auto-refreshing content when I change stuff outside of sourcetree Dec 22 20:27:48 and that option is checked in prefs ... Dec 22 20:28:07 pfn, you said to wait for 20 minutes. Is there something I could monitor, any indication that it is properly or still starting? Dec 22 20:32:04 miglo, I am not sure of anything you can monitor, but I had this issue once before i had acceleration working. If you start up the emulator, and leave, then come back to a black screen, ensure the device is not just sleeping. Dec 22 20:32:22 I had a black screen I could not figgure out untill I pressed esc, and the device woke up. Dec 22 20:36:29 i'll have to remember that next time my dog doesn't want to get up (press escape) Dec 22 20:38:08 Mmm, nothing seems to help. Still a black screen. :/ Dec 22 20:55:33 miglo, you could try genymotion Dec 22 21:20:58 I'm having a problem calling getResources().getString() on a context coming from a Fragment. It always return null for the string. Dec 22 21:21:12 I'm calling it from onCreateView() I'm not sure if that is a problem Dec 22 21:22:36 Well, getContext() is what I'm calling from the fragment. Later in this onCreateView, I use it with a method that calls the getResources().getString() Dec 22 21:22:48 https://gist.github.com/Adyrhan/7e0b4e60309412e47db4 Dec 22 21:23:54 does getString() from inside Activity also return null? Dec 22 21:24:15 nope, I've called that on another activity and it works. Dec 22 21:26:02 what returns null - getResources() or getString() Dec 22 21:26:21 getString() Dec 22 21:27:09 o.O Dec 22 21:28:13 I'm getting no NullPointerExceptions. The fuelTypeName of the FuelTypeItem objects get set as null, and then shows nothing on the spinner. Dec 22 21:30:48 I just checked in case I accidentally deleted the definitions in the strings.xml file, but they are there :/ Dec 22 21:35:46 fooking sweet, it's here Dec 22 21:35:55 I'm sure it has to be some silly thing I'm not aware of. Dec 22 21:36:35 I call that very same method from another activity, and it works. From the fragment? no luck. Dec 22 21:38:17 try onResume Dec 22 21:47:58 Ashiren, no luck :/ Dec 22 22:16:56 hey folks, I'm struggling to understand the simplest mechanism for having a mobile app with listview, and a wearable app with list view, having changes between them get synced, it seems simple enough that there should be a tutorial or example code online somewhere but I can't find any, any suggestions? Dec 22 22:40:24 ok I found the problem. It happens that apparently I'm an idiot e.e, and also blind. Dec 22 23:26:41 Hey all. Dec 22 23:46:38 hi all Dec 22 23:46:58 i want create an listview over a array Dec 22 23:47:34 i bacame an listview but i dont became all array data Dec 22 23:47:46 only i can see the last entry in the array Dec 22 23:48:01 on the listview Dec 22 23:49:05 http://nopaste.linux-dev.org/?903095 Dec 22 23:49:15 everyone can help me? Dec 22 23:53:01 [warn] problem while downloading module descriptor: https://jitpack.io/com/afollestad/material-dialogs/core/0.8.0.1/core-0.8.0.1.pom: invalid sha1: expected=f474c82082dc19f5e89c72ddacd98d0b6d46e4f4 computed=78a6a493c933914b1ac0cfd63a655cf926b8977c (737ms) Dec 22 23:53:01 ugh Dec 23 00:01:59 AS autosuggests Button ..BarLayout , but its not in the docs Dec 23 00:34:36 http://developer.android.com/reference/android/util/FloatMath.html Dec 23 00:34:39 wow, that's awesome Dec 23 00:34:43 how do you enable backward compat for that shit Dec 23 00:36:52 * pfn grumbles at people still using viewpagerindicator Dec 23 00:50:25 heya folks Dec 23 00:51:27 oh wow, google doesn't ship stock Email app anymore? Dec 23 00:51:29 that's cray cray Dec 23 00:51:50 so next semester we are going to be learning android development and over the holidays i am looking to get a head start .. i have a few questions Dec 23 00:54:11 first question is there are applications out there that can hide themselves, (most are spy apps ) .. how do they hide their icon .. what method is involved .. do a app require a icon .. IE i want to install a ssh/sftp server on a rooted phone .. but dont want a icon .. how should i go about this ? Dec 23 00:55:19 does sqlite3 not come on nexus 5 devices? Dec 23 00:58:29 still dont understand googles choice to switch to a php virtual machine Dec 23 00:59:29 . Dec 23 01:05:08 ghostd0g no launcher icon in manifest will do it Dec 23 01:05:53 hmm kewl Dec 23 01:06:28 second question where is a good place to learn to do a hello world droid app Dec 23 01:06:31 to get started Dec 23 01:06:55 i have never developed an app before Dec 23 01:07:08 wait nevermind i will google Dec 23 01:07:15 so had a lazy moment Dec 23 01:07:19 :) Dec 23 01:07:21 thank you Dec 23 01:09:05 developer.android.com/training/basics/firstapp/index.html bingo Dec 23 01:09:08 :) Dec 23 01:32:57 orbyt_ doesn't come with consumer builds of android Dec 23 01:33:15 or whatever they call it. it comes with development builds :/ Dec 23 01:33:57 g00s: yea i just read that. So i guess you just grab the tool online and install it on the device? Dec 23 01:34:33 you have to find a place that lets you store it though. you might try /tmp, but not sure you can chmod +x there Dec 23 01:34:39 you can also try your apps provate data dir Dec 23 01:34:45 *private Dec 23 01:36:27 hmm alright thanks Dec 23 01:54:10 so is there much reason to use sqlite with things like realm around? Dec 23 02:34:21 grr, anybody remember the style / attribute for text preceding a section header, all caps, etc Dec 23 02:34:30 google-fu is failing Dec 23 02:36:11 style="?android:attr/listSeparatorTextViewStyle" **** ENDING LOGGING AT Wed Dec 23 02:59:58 2015