**** BEGIN LOGGING AT Wed Jan 06 02:59:58 2016 Jan 06 03:12:43 i've been messing with the sensors available on android using a nexus 6P as my test device. it appears the step counter sensor is reporting error values. the sensor used in the phone is the BMI160. it's a 16 bit sensor so that would mean the max output of the sensor is 65535, which happens to be the starting point of the sensor. i was able to replicate the issue on two other phones of the same model. i'm guessing this has to be an Jan 06 03:12:43 issue with the kernel? how would i go about reporting this? Jan 06 03:20:59 hello guys, i created a db a insert data but i cant see them in rcyclerview list and i have no idea Jan 06 03:21:12 there is no shown error though, any suggestions ? Jan 06 03:24:44 You need to pull from the DB Jan 06 04:38:38 <_genuser_> android.app.fragment or android.support.v4.app.fragment ? Jan 06 04:39:32 v4 Jan 06 04:45:08 wow, twitter going from 140 chars to 10,000 chars ... Jan 06 04:45:20 i guess thats innovation these days :D Jan 06 04:45:56 <_genuser_> g00s: what? they announced that? Jan 06 04:46:16 http://recode.net/2016/01/05/twitter-considering-10000-character-limit-for-tweets/ Jan 06 04:46:32 <_genuser_> Isee, that's the first link I see on google for "twitter". Jan 06 04:49:39 <_genuser_> g00s: don't know what you think about it. I was kinda liking that there's a limit to the crap people can post. Jan 06 04:50:03 <_genuser_> on the other hands, it might be like blogs. people have short attentions spans, they don't want to read even blogs. they Jan 06 04:50:11 <_genuser_> they moved to twitter to just get the blurp. Jan 06 04:50:16 wish the fuck google would stop fucking uninstalling things from my devices. how the fuck can they even be allowed to do that shi? Jan 06 04:50:38 <_genuser_> google only cares about stealing your personal information. Jan 06 04:50:46 <_genuser_> that's teh only time they ask nicely, "please give us more". Jan 06 04:50:51 <_genuser_> the rest is like, pfft, who are you. Jan 06 04:52:32 i had a digital alarm clock widget this morning, its been installed on the device for months. just looked at my display and its not there and its no longer installed Jan 06 04:53:22 <_genuser_> the thign about google is: they have individual devs heading up teams of "20% time projects". they just do whatever. Jan 06 04:53:27 and now i can not find one that does not want access to photos/media/files Jan 06 04:53:29 FUCK that Jan 06 04:53:32 <_genuser_> you won't find uniformity in google's actions or their products. Jan 06 04:53:40 <_genuser_> or even UX on most of their own apps. Jan 06 04:53:52 <_genuser_> sort of have to go with it, because it's free. Jan 06 04:53:53 this is not THEIR fucking product. this is MY fucking phone Jan 06 04:54:01 they have no right to uninstall ANYTHING at all behind my back Jan 06 04:54:17 <_genuser_> I just meant android, and the play services, and the blah blah being individual products being controller by single devs heading up the teams. Jan 06 04:54:19 did that really happen? Jan 06 04:54:28 I've never heard of apps being uninstalled from your device by google Jan 06 04:54:37 the alarm clock widget i installed months ago is no longer installed Jan 06 04:54:51 <_genuser_> I wonder if there's an audit for install/uninstall somewhere on the device that you can check. Jan 06 04:55:53 Stupid question, I'm sure: How do I console log? Specifically, on Android Wear? Jan 06 04:58:35 and now i can not find ANY digital alarm clock wiget apps in the store that do not want stupid fucking permissions to spy on me Jan 06 04:58:38 <_genuser_> shouldn't Log.x work on all android devices to log back to the console? Jan 06 04:58:46 I440r ah thats your mistake right there, its not your phone :D Jan 06 04:58:54 an alarm clock app should require exactly ZERO permissions, PERIOD Jan 06 04:59:01 <_genuser_> g00s: haha, you think grampa grabbed someone else phone? Jan 06 04:59:18 <_genuser_> and started modifying it to get it "back to what it was" and in the morning one of the grandkids will be pissed? Jan 06 04:59:42 <_genuser_> I440r: question, did you upgrade your OS version or something else? Jan 06 05:00:08 <_genuser_> I440r: wonder if a new version of API got pushed to your phone where it exceeded teh target or max version supported by the alarm clock. Jan 06 05:00:14 <_genuser_> altho, that's a pretty dumb assumption. Jan 06 05:00:19 no. i have cm11 on here Jan 06 05:00:21 _genuser_: Log.x doesn't seem to be available on Wear. There's d, e, i, v, and w. I tried a few, and nothing seems to be appearing in the console. :\ Jan 06 05:00:43 and ZERO auto updates on anything Jan 06 05:01:30 there is nothing at all in the app store that is not spyware or malware Jan 06 05:01:41 and google encourages that shit Jan 06 05:01:50 <_genuser_> I440r: wow, that's odd! Jan 06 05:02:04 <_genuser_> RatherOutspoken: http://stackoverflow.com/questions/24595170/sending-messages-from-android-wear-to-host-device few of the links I see on SO. but I haven't done any Wear apps myself. Jan 06 05:02:32 an alarm clock should not require netowrk, phone id, file access.. . .. Jan 06 05:03:45 <_genuser_> true, an alarm clock should just need to access time. And maybe it needs to save alarms to the local disk or something. Jan 06 05:03:55 this is fucking me over. i either accept an alarm clock app that wants access to my camera and micrphone and private files or i dont make it to work on time tomorrow Jan 06 05:04:02 <_genuser_> but it can saved those alarms in user prefs and not require any permissions. Jan 06 05:04:09 I440r dumb question, whats the matter with google clock? its very nice ... Jan 06 05:04:36 its not on here. and google cant be fucking trusted anyway Jan 06 05:04:48 <_genuser_> that was my next comment. I use the default alarm clock on android. *default that comes installed with the device. but that could have been already a custom version by vendor (samsungs/google) Jan 06 05:04:59 heh, i did have the countdown time not alarm a few times Jan 06 05:05:15 <_genuser_> so I guess cm11 is pretty barebones and doesn't have fluff apps built in. Jan 06 05:06:41 Just added https://github.com/pilgr/Paper and proguard is not working. Multiple warnings "Warning:there were 3 unresolved references to classes or interfaces." and exception "Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.". Jan 06 05:06:44 I have added the proguard config for paper https://github.com/pilgr/Paper/blob/master/paperdb/proguard.txt but still no avail. Jan 06 05:07:09 Any way that I can get a better stacktrace from proguard Jan 06 05:08:55 _genuser_, it does not come with ANY google apps installed on it at all, you have to install them manually Jan 06 05:09:03 INCLUDING the app store app Jan 06 05:11:35 somehting seriously fucked up is going on. i just installed a widget. i long press the display, select widgets, slect the clock, drag it to the screen, let go, it drops, it disappears instantly Jan 06 05:11:39 wtf over? Jan 06 05:12:47 and now it wont let me drop it on the screen again because there is no more room Jan 06 05:12:50 ! Jan 06 05:14:52 i guess if you have a compound textview with a drawable, and set a gravity on the textview, it puts a big space inbetween the drawable and the actual text. Anyone know a fix? Jan 06 05:17:12 I want my annotation processor to be aware of Parcelable interface. how can I do that? Jan 06 05:17:58 "provided 'com.google.android:android:4.1.1.4'" not enough Jan 06 05:18:13 getting ava.lang.NoClassDefFoundError: android/os/Parcelable Jan 06 05:19:39 <_genuser_> I440r: wonder if you caught a suspicious app.. on your phone. Jan 06 05:30:43 you mean one that requires zero extra permissions? Jan 06 05:31:39 <_genuser_> hmm, given how cautious (paranoid) you sound, I doubt you installed anything that could be a virus. Jan 06 05:31:51 <_genuser_> don't mean paranoid negatively in this case. Jan 06 05:32:04 if it was malware google STILL has no right to uninstall. they should pop up a "hey you should know this... should i uninstall this?" Jan 06 05:32:33 im not paranoid. google is out to get me! :) Jan 06 05:44:51 ` .withValue(ContactsContract.CommonDataKinds.Email.TYPE, emailType);` http://developer.android.com/guide/topics/providers/contacts-provider.html Jan 06 05:45:01 what's a valid value for `emailType`? Jan 06 05:45:13 when I pass a string it isn't being respected Jan 06 05:59:45 Hello. I'm trying to perform a fade out->face in animation but it just becomes invisible for the duration. code: https://gist.github.com/vedant1811/dd5de693f3733106c09f Jan 06 06:02:11 ah its an integer http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Email.html Jan 06 06:27:26 with JavaPoet is it possible to add field of random type? Jan 06 06:28:52 I'm trying to make a wrapper for custom class, say MyClass.class. how to add field of this type with JavaPoet? Jan 06 06:30:13 seems I'm rubberducking here) Jan 06 06:48:30 Hm. Why is it that when I set an x or y on my canvas.drawRect() my rect gets clipped? Jan 06 07:03:19 JakeWharton: with JavaPoet is it possible to add field of random type? Jan 06 07:04:15 as in Random? Jan 06 07:04:34 I'm trying to make a wrapper for custom class, say MyClass.class. how to add field of this type with JavaPoet? Jan 06 07:04:54 create a ClassName for it Jan 06 07:05:21 no, just one that cannot be resolved at annotation processing time Jan 06 07:05:37 you can still create a ClassName for it with strings Jan 06 07:07:38 https://github.com/JakeWharton/butterknife/blob/6ab6fb5e98a9da8eeaecc4f8917f06adbc8b67a7/butterknife-compiler/src/main/java/butterknife/compiler/BindingClass.java#L38 Jan 06 07:11:12 ah, that's it. thanks Jan 06 07:19:34 Hello. I'm trying to perform a fade out->face in animation but it just becomes invisible for the duration. code: https://gist.github.com/vedant1811/dd5de693f3733106c09f Jan 06 07:20:09 hi, anyone knows how does this error occur? Jan 06 07:20:10 AudioTrack.write(float[] ...) requires format ENCODING_PCM_FLOAT Jan 06 07:20:12 hey there i am getting this protocol exception when trying to connect to here is logtag i have https in the url but i can't find out why is it giving me this exception #LOGTAG http://paste.ubuntu.com/14418177/ Jan 06 07:20:32 I am trying to filter audio and have convert int to float Jan 06 07:24:59 hey there i am getting this protocol exception when trying to connect to here is logtag i have https in the url but i can't find out why is it giving me this exception #LOGTAG http://paste.ubuntu.com/14418177/ Jan 06 07:32:01 Hi, i have created and started a thread t= new Thread() {...}, and started, when the application goes into background, still this threads runs. Jan 06 07:32:05 it is expected behavior ? Jan 06 08:31:33 hmm Jan 06 08:31:38 retrofit changed it's groupid Jan 06 08:40:05 <_genuser_> is it possible to detect a tap/click outside a given fragment? Jan 06 09:11:37 Hello everyone, i am trying to hardcode string (extract string resource) from Android Studio but the indicator is not showing.. How can i do this?? Jan 06 09:26:59 Morning :) Jan 06 10:02:21 did someone uploaded to amazone s3? Jan 06 10:02:35 with amazon sdk? Jan 06 10:03:23 from android throught global network called internet? Jan 06 10:39:21 uploading state starts from IN_PROGRESS and then get PAUSED Jan 06 10:42:46 hithere Jan 06 10:43:47 Cannot find video from some android dev conference, from second half of 2015, there were two guys discussing appcompat library and new features Jan 06 10:49:23 https://www.youtube.com/playlist?list=PLWz5rJ2EKKc_Tt7q77qwyKRgytF1RzRx8 Jan 06 10:49:29 https://www.youtube.com/watch?v=ihQ16K8gSuQ&index=8&list=PLWz5rJ2EKKc_Tt7q77qwyKRgytF1RzRx8 Jan 06 11:02:55 I have some files in my /app/src/main/res/raw directory ( using Android Studio 1.5 ) but those files are always reported as not found. Jan 06 11:20:05 Any help here would be appreciated: http://stackoverflow.com/questions/34631851/multiple-foregroundcolorspan-on-editable-issue-on-android-6-0 Jan 06 11:42:03 Yo guys, may be impossible, but I want to grab views out of a recycler view and drag them out of the recycler grid / adapter area Jan 06 11:42:08 and pop them up to the user as a dialog fragment Jan 06 11:42:20 to open them and let them swipe 'em around Jan 06 11:44:55 Hello everyone, looking for someone with experience in NDK & JNI , trying to build an app with ffmpeg support, managed to build the shared libraries for android, don't understand how to integrate them / use them now tho Jan 06 11:52:56 basti_, I believe you will need to execute the binary in a shell. This lib seems to handle that for you. https://github.com/WritingMinds/ffmpeg-android-java Jan 06 12:21:03 hi people Jan 06 12:21:04 Using android studio i'v created a resource directory raw in the res directory. I then added a text file. I am unable to access this file. Even thought the file is there and not empty, File.exists() always returns false. Jan 06 12:21:11 is anyone there? Jan 06 12:21:23 Hi 405 Jan 06 12:22:04 I have tried: File anyFile = new File("res/raw/test.txt" ); Jan 06 12:22:15 and: File anyFile = new File( getFilesDir(), "test.txt" ); Jan 06 12:22:19 If anyone know, which methods we should use while we are uploading videos from android app to server? Jan 06 12:22:33 when I check anyFile.exists() I get false. Jan 06 12:22:37 multipart entity builder is still usefull? Jan 06 12:28:59 NeoFrontier, you should do getResources().openRawResource(R.raw.filename) Jan 06 12:30:55 @NeoFrontier, see surf2b1's answer above for an InputStream. If you need to create a File try: Jan 06 12:31:27 Uri uri = Uri.parse("android.resource://" + getResources.getResourcePackageName(R.raw.test) + "/" + R.raw.test); Jan 06 12:31:32 new File(uri) Jan 06 12:32:04 getResources()* forgot the brackets Jan 06 12:37:20 mauricegavin, File has no constructor for android.net.Uri Jan 06 12:37:36 also, the path won't exist on the file system Jan 06 12:39:03 surf2b1, and mauricegavin , Thanks for the input. I need to pass an argument of type myresourceFile.getAbsolutePath() to a method. Jan 06 12:39:17 This method says that the file is not found. Jan 06 12:39:33 And I don't see the file on the android device either. Jan 06 12:39:45 the files in the raw directory. Jan 06 12:39:51 NeoFrontier, You should read/write the file to files directory first Jan 06 12:40:10 ah Jan 06 12:40:15 mmm Jan 06 12:45:17 Hi, how does this javascript translate to java? $.get("./", {url: $("#url").val()}) I have found the HttpURLConnection. Do I use addRequestProperty("url", url) to specify the url argument? Jan 06 12:47:20 I have android sdk and eclipse, how can I set up eclipse to use this sdk and let me create android programs? Jan 06 12:53:25 I think I found my solution. I have to change the main url to include the argument url. Jan 06 12:59:30 I am trying to install images for AVD, belowe API 21 there are no x86/x86_64 images with Google APIs) - are any of these images around, where can I get them? How do you test your apps on lower APIs without Google APIs images and having no physical devices available? Jan 06 13:01:01 Genymotion. Jan 06 13:03:04 guys Jan 06 13:03:21 how can we remove login-quit activities from chat? Jan 06 13:04:45 Mavrik, :) same answer as one month ago - already downloading it, but was not sure if it is cure even for this problem, thx Jan 06 13:04:57 of course it is. Jan 06 13:05:04 especially since google API images are so broken Jan 06 13:05:26 what do you mean ¨broken Jan 06 13:07:09 hello guys Jan 06 13:09:44 i have a recyclerview.it has items from a DB.I have a PreferenceActivity and it has a preference item.When i click that preference item, it deletes all elements from DB. After going back to recyclerview , it still shows elements.What can i do to show empty screen ? Jan 06 13:20:05 i have a recyclerview.it has items from a DB.I have a PreferenceActivity and it has a preference item.When i click that preference item, it deletes all elements from DB. After going back to recyclerview , it still shows elements.What can i do to show empty screen ? Jan 06 13:56:08 I have installed Genymotion on disk D:/, but it is downloading and installing virtual devices in /ova nad /deployed directories on C:/ - is there a way to move them from "C:\Users\%User\AppData\Local" to "D:/someDirectory" ? Jan 06 13:56:44 searching through stack without success... Jan 06 14:24:41 hi Jan 06 14:25:38 ohai Jan 06 14:25:58 i am trying put compile ("com.google.android.gms:play-services-gcm:8.4.0") in my gradle but i have a problem: Error: more than one library with package name 'com.google.android.gms' but i cant find this version: 6.1.71 Jan 06 14:31:18 <_genuser_> does fragment get an onAttach event? Jan 06 14:44:03 guys I have a small problem can anyone help me? Jan 06 14:44:21 I am trying to upload a file to server Jan 06 14:44:37 and I am using multipartentitybuilder Jan 06 14:44:46 but in setentity function Jan 06 14:44:57 I am taking no such a field error Jan 06 14:45:32 this error Jan 06 14:45:33 http://stackoverflow.com/questions/30111751/entity-returns-error-in-multipartentitybuilder Jan 06 14:47:36 cilginkodcu, what about the accepted answer? Jan 06 14:48:01 <_genuser_> do you guys still name your interfaces with I ? Jan 06 14:48:34 <_genuser_> I'm calling it IEventNotifier and it's somehow looking old. lol. (vs. EventNotifier) Jan 06 14:48:40 _genuser_, isnt that C# style? Jan 06 14:49:06 I think the namingpolice suggests EventNotifier and EventNotifierImpl for java :p Jan 06 14:49:30 where the Impl postfix is for the class that implements the interface Jan 06 14:49:38 <_genuser_> ah, OK> that's why it was looking out of place. I don't think I have seen the I in java. Jan 06 14:49:52 <_genuser_> I try to stick to the guidelines of the community. helps to integrate code better with other people's code. Jan 06 14:52:25 <_genuser_> then again, creating a dialog box out of fragments... proper coding is already way in the past. Jan 06 15:08:57 <_genuser_> so a fragment's onCreate is run when it's added to the activity via fragment manager, correct? Jan 06 15:26:22 hello, i'm getting started with cordova and have a simple barcode reader app to write. i've started with phonegap-plugin-barcodescanner but am finding it to be incredibly slow to read simple barcodes. Jan 06 15:26:33 on the same device the app MyFitnessPal reads barcodes in about 1/4 of a second. Jan 06 15:26:44 can someone recommend an alternative barcode scanning library / plugin i should try? googling leads to all kinds of results and most look outdated. Jan 06 15:29:10 <_abc_> Hello. Does anyone know if j2me midlet migration to android, possibly automated, is solid? I've seen what is online in searches, http://davy.preuveneers.be/phoneme/ etc. Jan 06 15:33:02 <_abc_> Netmite App Runner is practically not an option. Jan 06 15:35:14 no Jan 06 15:36:00 <_abc_> http://w3epic.com/run-java-apps-j2me-on-android-devices-guide/ good rundown. I understand there are problems with droid 5.x+ because of non relcatable linking of some parts of phoneme Jan 06 15:36:14 <_abc_> I'm interested in 2.x and 4.x for now. Jan 06 15:38:30 <_abc_> The netmite apk simply farms out the translation / compilation of the midp jar to a server online and gets back the converted one, right? Jan 06 15:40:46 <_genuser_> geez, who would have thought that arranging UI elements at runtime would be so horrible in android. Jan 06 15:40:56 <_abc_> :) Jan 06 15:41:17 <_genuser_> can't do a simple rotate a view, set it to match_parent in height and width. half of it's ALWAYS off screen. Jan 06 15:41:20 <_genuser_> how dumb!!! Jan 06 15:41:25 hi Jan 06 15:41:26 <_genuser_> Jan 06 15:41:59 i have this: http://pastebin.com/bMMJEQAS but the ads is not removed, how i can solve? Jan 06 15:56:31 I wrote up a couple of questions here since they're too long to type up in IRC, I'd appreciate it if anyone could take a look. http://hastebin.com/mijorojipa.vhdl Jan 06 15:56:38 t0th_-_, you dont need to do this anymore Jan 06 15:57:11 t0th_-_, check this: https://developers.google.com/android/guides/setup Jan 06 15:57:31 just pick the dependencie you need from table 1 instead of excluding them Jan 06 15:57:41 danijoo_: thanks Jan 06 15:57:56 i try only put what i need but i have other problem Jan 06 15:57:58 1minute Jan 06 15:58:24 err, this link is better, removes the syntax highlighting http://hastebin.com/mijorojipa.txt Jan 06 16:02:13 btn, 1) onOptionsItemSelected method of activity Jan 06 16:02:28 i change to setting only what lib i need: http://pastebin.com/kjEVBYQQ Jan 06 16:03:13 That's for launching the connection activity, yeah? I already had that part down :) Jan 06 16:05:14 t0th_-_, show your whole gradle file Jan 06 16:05:27 http://ctrlv.in/694010 Jan 06 16:05:36 see what i version is created Jan 06 16:06:15 <_abc_> http://www.bluecove.org/# does this work in AS emulator? Jan 06 16:06:20 <_abc_> I mean with Jan 06 16:08:08 _abc_, i think emulator has no bt support Jan 06 16:08:56 <_abc_> danijoo_: you think right, but SOMEONE (not goopile) added it. http://www.bluecove.org/bluecove-examples/index.html Jan 06 16:10:20 <_abc_> danijoo_: iow phoneme+emu+bluecove should work Jan 06 16:11:14 danijoo_: http://pastebin.com/bbKT7grT :) Jan 06 16:11:24 hmm, I should try out the gms Barcode scanner Jan 06 16:11:45 especially since I need a way to import otp keys into keepshare Jan 06 16:12:14 <_abc_> danijoo_: of course I could be wrong but I think it works. Jan 06 16:13:03 _abc_, try it :p Jan 06 16:14:06 <_abc_> I won't, am not advanced enough and need to do something else. I understand that the bluecove implementation uses jni linked dlls which should work on the "device" Jan 06 16:14:09 <_abc_> somehow. Jan 06 16:14:15 <_abc_> i.e. on the emulator Jan 06 16:14:41 <_genuser_> FRAGMENT DIALOGS!!!! Jan 06 16:14:48 <_genuser_> I flung the crap and it stuck to the wall!! Jan 06 16:14:53 <_genuser_> yeeha! Jan 06 16:15:09 <_abc_> I feel G dropped bluetooth emulation to make bluetooth development harder. Since bt links do not go through the borg's information collecting system. Jan 06 16:16:08 t0th_-_, maybe one of ur other libraries is requesting another gps version Jan 06 16:16:25 i try find the text but dont have nothing Jan 06 16:16:27 for example this analytics thing Jan 06 16:16:29 anyway, thanks danijoo_ Jan 06 16:16:36 segments Jan 06 16:16:37 hmmmm Jan 06 16:16:46 _abc_ lol :D Jan 06 16:17:03 or they are just incompetent Jan 06 16:18:03 looking through the bt frameowrk code, only conclusion you can come to is 'how did this happen' Jan 06 16:20:15 is there any way to say something like