**** BEGIN LOGGING AT Sun Jan 01 03:00:01 2017 Jan 01 03:45:48 ugh, the bolt is too small... Jan 01 03:46:14 and is practically a budget car in $40k clothing Jan 01 03:46:36 yeah, the battery is the most expensive part of the car Jan 01 03:46:38 s/clothing/pricrtag Jan 01 03:46:58 they had to be creative to work around that Jan 01 03:47:43 disappointing that it has so little room Jan 01 03:49:31 pfn did you test drive one ? Jan 01 03:51:34 yeah, checked it out a couple days ago Jan 01 03:52:08 it's cheap plastic, but the tech pieces are nice, and there's not. enough seating room. in the back to fit 3 comfortably Jan 01 04:06:32 ugh... anyone run into an issue where padding on a framelayout will display correctly in the layout editor preview, but not show properly on a device? Jan 01 04:21:08 oionby doesn't sound right. FL is as basic as it gets, its old and works Jan 01 04:21:24 oionby try enabling layout bounds in device dev menu, this is margins, but maybe it will help Jan 01 04:22:26 THat's literally half the fun of Android UI Jan 01 04:22:38 ...figuring out why the layout that seemed reasonable goes insane on the phone. Jan 01 04:23:03 Thanks. I have looked at it a bit with layout bounds on. I eventally just put a margin on a child view which resulted in the same visuals. I'll look at it again later when I have more time. deadline tonight :/ Jan 01 04:46:04 Anybody know howlogin input box text are animated up when onClick ? Jan 01 04:46:47 Do they just inflate it above ? Cant find any example on this oddly... Jan 01 07:56:23 happy new year Jan 01 09:40:33 Hi, so my device will wake up when it has an alarm set, then go back to sleep ( go off ) if the user did not interact with it in a specified time. How can I with an app or something simply make times for a device to go to sleep and wake up ? Jan 01 09:41:14 Specifically for an Android 4.4.2 device. Jan 01 09:50:37 AlarmManager, but better to use some wrapper lib Jan 01 09:51:04 like https://github.com/firebase/firebase-jobdispatcher-android Jan 01 09:56:00 mmm Jan 01 10:03:34 what do you guys think about using a tablayout on the bottom? major antipattern nono or just way more reasonable? Jan 01 10:09:41 for navigation? Jan 01 10:11:35 yes Jan 01 10:12:06 seems like google started advocating for it Jan 01 10:14:09 <_rm> i think it's good Jan 01 10:24:38 they aren't advocating it as a primary source of navigation, you should still be using the drawer and the action button Jan 01 10:25:53 the main thing you wanna avoid is making your app look like an iOS app, it's just going to piss people off Jan 01 10:28:50 <_rm> piss who off, exactly Jan 01 10:28:57 <_rm> i don't think most people care one way or the other Jan 01 10:29:19 i kinda agree with _rm Jan 01 10:29:22 <_rm> google's ios apps feel more like android apps, and i don't mind Jan 01 10:29:42 i dont need a drawer, and tbh - i think its a bad pattern and often missed out Jan 01 10:29:44 raoul11: hello, I've looked at yesterday tips Jan 01 10:30:17 I thought play view was a particular object, now I've found it dpesn't exist Jan 01 10:30:23 *doesn't Jan 01 10:30:29 mayb i wasnt clear about that Jan 01 10:30:57 I've looked also at stackoverflow thread, and I've checked rounded.xml Jan 01 10:31:23 about padding and corners Jan 01 10:31:52 my rounded.xml currently contains a shape with solid and corners attributes Jan 01 10:32:33 corners attribute has got topleftradius=3dp and toprightradius=3dp Jan 01 10:33:45 raoul11: strange this is: when I tried relative layout and linear layout, in past, containing button+imageviw Jan 01 10:34:37 bottom stripe was displayed. If I remove relative/linear layout bottom stripe is not displayed anymore Jan 01 10:35:28 so, it's clear, rounded.xml couldn't blamed of the stripe not displayed Jan 01 10:36:27 I've teied different methods to build widget, as suggested by users in this channel Jan 01 10:36:55 but every method always breaks something in widget displaying Jan 01 10:39:18 with imagebutton method I don't know why bottom imageview is not displayed anymore, against relativelayout and linearlayout methods, which displayed it Jan 01 10:39:49 but theyshown other issues Jan 01 10:39:55 *they shown Jan 01 10:40:50 Any ideas? Jan 01 10:41:04 I link the layout pastes Jan 01 10:42:16 widget.xml: http://pastebin.com/SGUgFd2U Jan 01 10:49:38 raoul11: for explaining better: button should be resizable, but not icon inside it. The bottom stripe should also not be resizable vertically, but only horizontally Jan 01 10:50:02 yer paste it dead cristian_c Jan 01 10:50:18 :O Jan 01 10:50:26 I paste ir again Jan 01 10:50:26 and i really dont manage to follow Jan 01 10:52:37 Hey! How does one import a Android project from gerrit to Android Studio and build it without migrating to Gradle? Jan 01 10:52:43 The projects with Android.mk files Jan 01 10:53:52 raoul11: the new paste: http://pastebin.com/w2gTPH5m Jan 01 10:54:37 raoul11: any ideas about how to reaching the target? Jan 01 10:54:50 *how to reach Jan 01 12:16:43 I am compiling cm 13 for the nvidia wiko wax and the only rom working for it is cm 11. The build finished with no errors, but the rom does not boot, it hangs at the vendor logo. Here is the kmsg http://pastebin.com/G6Xehq3N , here the kernel https://github.com/Packmaan7144/kernel_nvidia_s8515 , and here the device https://github.com/Packmaan7144/device_nvidia_s8515 . Hope someone can help Jan 01 12:25:04 Reujea0: I don't know exactly if you are in the right place. Sometimes users say this is proper channel, other times they say you're in wrong channel Jan 01 12:25:28 Reujea0: I think, however you shpuld ask properly in cyanogenmod channel Jan 01 12:25:41 sorry, cyanogenmod-dev channel Jan 01 12:26:15 *should Jan 01 12:26:49 if the question is building Android, of any sort, the answer is that this is the wrong channel Jan 01 12:27:12 * cristian_c had read viceversa in past.... Jan 01 12:27:22 :( Jan 01 12:42:05 Leeds, is thepoosh still celebr8ing new years? Jan 01 13:23:54 hello everyone Jan 01 13:27:05 i would like to be an android developer partner for a and android developer here that has developer account on google play i am a software engineer and have experience for several years in programming Jan 01 13:27:42 wating to get a message from u Jan 01 13:32:15 i have not access to google play to publish app on it therfore i want to participate in your project if u accept me Jan 01 13:37:40 i would like to be an android developer partner for an android developer here that has developer account on google play i am a software engineer and have experience for several years in programming )))) modified Jan 01 13:41:26 i can't figure out why, when i call jni method, it crashes. Jan 01 13:41:48 it can execute System.loadLibrary("jniModule"); Jan 01 13:41:58 but it crashes when i call that method. Jan 01 13:41:59 sad Jan 01 13:43:18 we might both get arrested iresf /: Jan 01 13:44:45 raoul11 : why ? Jan 01 13:45:08 yer iranian and im israeli Jan 01 13:46:55 o i was thinking you are Indian due to the your name Jan 01 13:49:52 raoul is indian? Jan 01 13:51:43 it is like an Indian name but i c it is not https://en.wikipedia.org/wiki/Raoul Jan 01 14:05:09 raoul11, iresf: that's exactly the kind of cooperation the world needs, go for it! :D Jan 01 14:05:22 well Jan 01 14:05:32 he'd probably end up dead, and me in jail Jan 01 14:05:50 :( Jan 01 14:06:04 Get another 10k people doing the same thing... Jan 01 14:09:40 \: Jan 01 14:09:59 raoul11 : are u taking about ? dead , jail Jan 01 14:10:12 what * Jan 01 14:10:23 on the other hand you could end up with a Nobel prize for Peace Jan 01 14:10:37 well, do they give Nobel prizes to the memory? Jan 01 14:21:51 i would like to be an android developer partner for an android developer here, that has developer account on google play i am a software engineer and have experience for several years in programming Jan 01 14:22:11 hi mela Jan 01 14:22:19 hi rao Jan 01 14:22:23 hi ire Jan 01 14:22:30 hi MarkRS Jan 01 14:22:35 yo Melatonina Jan 01 14:25:00 Hola Mela Jan 01 14:25:36 I want my rooted android device to run a tiny shell script when it boots Jan 01 14:26:01 Where is it (ie. in which file) a good place to put it? Jan 01 14:28:18 superguest : ask in #linux Jan 01 14:28:38 also #android-root Jan 01 14:37:41 I read people use services that are not allowed in Iran and China with VPNN Jan 01 14:37:54 VPNs Jan 01 14:40:30 what are those ? Jan 01 14:42:45 good reply iresf ;) Jan 01 14:52:43 iresf: Virtual Private Networks Jan 01 14:53:21 iresf: https://www.bestvpn.com/best-vpn-iran/ Jan 01 14:54:40 i meant what services that we can not use in iran and Chinese in China not VPN i know VPN well have studied a lot of about it at uni Jan 01 14:56:07 even with vpn we can not use special services Jan 01 14:57:00 for example we can not publish app on google store even with vpn because google trace us Jan 01 14:57:45 can't you fake your identity? Jan 01 14:58:54 never Jan 01 14:59:16 hackers do Jan 01 14:59:19 google is not like other organization Jan 01 15:00:39 but there is a hard way only for free app that is very expensive with these conditions and cost of dollars in Iran Jan 01 15:01:28 did you publish you application on the local markets already? Jan 01 15:03:59 did you publish you application on the local markets already? Jan 01 15:04:06 iresf: ^ Jan 01 15:04:06 yes Jan 01 15:04:18 how many users does it have? Jan 01 15:05:32 i did not publish main app on it but i have published a simple app on it a few days ago Jan 01 15:05:40 now less than 100 Jan 01 15:06:03 you should publish your main app too Jan 01 15:06:33 it will make you easier to find someone to cooperate with abroad Jan 01 15:06:49 yh Jan 01 15:07:06 How are you ensuring correct keys? considering iran can circumvent https across the country. Jan 01 15:07:49 you said you aren't using google play. you can't get someone else to publish? Jan 01 15:08:04 Lvl4Sword: it's what he's looking for Jan 01 15:08:16 what's the app? Jan 01 15:09:31 iresf: ^? Jan 01 15:09:47 my main app is for patients Jan 01 15:10:12 but what does it do for patients? Jan 01 15:10:29 it's like saying that Facebook is an app for people Jan 01 15:10:31 it was my university project that i started one years ago Jan 01 15:11:32 yh i just can say it is for patients for some reasons Jan 01 15:12:00 year* Jan 01 15:12:14 that will make it very hard to find someone who is interested in cooperating with you Jan 01 15:13:11 I mean, it's ok to be vague but not when you are looking for a partnership Jan 01 15:14:22 yh you are right Jan 01 15:16:11 just publish you app in the local markets and THEN look for a partnership Jan 01 15:16:32 otherwise it's a waste of time Jan 01 15:18:40 iresf: why do you use double spaces from time to time? also, is it customary to write "yh" instead of "yeah" in Iran or is it just you? Jan 01 15:19:11 Melatonina : i didnt say i want partnership for my app i said i want to find an android developer that accept me to work with Jan 01 15:19:45 iresf: which is a partnership Jan 01 15:20:20 i have seen Americans write yh instead of of yeah in other rooms and also here Jan 01 15:20:54 ok, it's new to me. Thanks Jan 01 15:21:00 What about the double spaces? Jan 01 15:23:37 sorry for that but why do u ask it me ? Jan 01 15:25:30 iresf: it's just a curiosity. It's a peculiarity of yours. Jan 01 15:25:49 iresf: I'm curious. No second purposes or meanings. Jan 01 15:26:16 I'm fascinated by written language Jan 01 15:26:29 both human and computer languages Jan 01 15:28:07 very well Jan 01 15:29:00 won't you tell my why you use double spaces? Jan 01 15:29:37 oh ok because i am a stupid Muslim it is reason of double spaces Jan 01 15:30:01 that's silly Jan 01 15:30:23 You don't want to tell me. Ok Jan 01 15:30:55 I'll pretend your government doesn't allow you to talk about double spaces Jan 01 15:30:59 It's ok Jan 01 15:42:24 here carrot juice Melatonina Jan 01 15:43:09 no thanks Jan 01 16:11:19 Lvl4Sword : how do i ensuring correct keys ? Jan 01 16:18:35 Hello everyone, does anyone have a fix for device getting disconnected on Macbook pro when connected to Android studio? Jan 01 16:19:13 totally disconnected? Jan 01 16:19:28 or disconnected from adb? Jan 01 16:31:21 Disconnect from adb Melatonina Jan 01 16:31:39 I have to unplug and plug it back Jan 01 16:31:57 you can disable and re-enable debugging on your device Jan 01 16:32:01 Tried this but it didn’t work for me http://stackoverflow.com/questions/38641164/is-there-any-fix-for-android-studio-keep-disconnecting-test-device-in-macbook-pr Jan 01 16:32:11 it started to happen to me recently Jan 01 16:32:13 too Jan 01 16:32:28 but it only happens occasionally Jan 01 16:32:37 I have it enabled Jan 01 16:32:46 It happens every 20mins Jan 01 16:32:56 disable and re-enable it Jan 01 16:34:28 on the device, settings >> developer option>> usb debugging Ona Jan 01 16:34:51 Is that what I should do? Jan 01 16:39:18 yes Jan 01 16:57:27 Thanks. I just tested it. For some reasons, it’s still disconnecting Jan 01 16:57:44 I have tried with lots of cables Jan 01 16:58:52 Guess you're going to have to get a new MacBook Pro then. :) Jan 01 16:59:19 haahaa!!! Jan 01 17:14:22 I want to create a new item with AutoValue from one item I already have, but alter a single property. I tried auto-value-with but I must be doing something wrong cause I get "IllegalStateException: Missing required properties" Jan 01 17:18:57 is there anyone with opencv4android exp here? Jan 01 17:19:06 i am getting no response from the opencv channel Jan 01 17:28:25 spykins, Might check and see if there is an updated usb driver. Jan 01 18:18:41 hi guys. Jan 01 18:19:03 hi hero Jan 01 18:19:12 guys,I wonder if it is possible to request for a permission that is not defined in manifest. Jan 01 18:19:16 any idea? Jan 01 18:19:25 hi Melatonina Jan 01 18:19:55 defined in manifest? as in "its usage was not declared in the manifest"? Jan 01 18:20:36 yup Jan 01 18:21:32 I wana create a library that may need write_external_storage permission for running(based on run time parameters). Jan 01 18:22:02 http://stackoverflow.com/questions/30642287/user-gets-permissions-request-that-are-not-included-in-the-manifest Jan 01 18:22:10 http://stackoverflow.com/questions/31742236/why-apps-asks-permission-without-writing-it-in-manifest Jan 01 18:22:16 Yes, you can Jan 01 18:22:34 Almost all permissions except for network access happen at request time with 6+ Jan 01 18:25:44 Dagmar: I know. but I just wanted not to define it in manifest, because library may not need it at run time. So it will be cool if that permission is not shown for apps that use this library unless I ask for it specificly at run time. Jan 01 18:26:56 Melatonia: they are reasons that those permissions are shown, because library needs them. I wanted to limit this. but it seems it will not be possible. Jan 01 18:27:48 anyway ty fo rhelp. :) Jan 01 18:44:44 hero_biz: Honestly, in practice it's less of a problem than you'd think Jan 01 20:18:07 Gaah! I'm doing my first experiments with Firebase, and I'm specifically trying to store my current Location (that's android.location.Location). But I'm getting errors in onDataChange: com.google.firebase.database.DatabaseException: Class android.location.Location is missing a constructor with no arguments Jan 01 20:18:39 What's the best way to work-around this? Should I make a MyLocation extends Location and add a no-arg ctor? Jan 01 20:21:43 You could do that, it you are allowed. Or you can make a new class dedicated to storage in that database Jan 01 20:22:41 Zta: how is your 2017 going so far? Jan 01 20:23:08 My I really just want to store a android.location.Location, so it seems idiotic to map all fields. I'll try with my own empty Location implementation first. Jan 01 20:23:52 Melatonina: I'm enjoying my hang over and I'm close to collapsing because I'm so tired, but I really would like to see this work before I go to bed ;) Jan 01 20:23:56 Melatonina: How's yours? Jan 01 20:24:56 Zta: A bit cold but it's ok. Thanks Jan 01 20:25:19 It's cold and windy here too. Jan 01 20:29:50 Zta: sometimes even with object oriented database you have to create a class specifically for storage, which is different from the one you use for other purposes (computations, presentation, etc.) Jan 01 20:29:58 Not always but it happens Jan 01 20:30:58 I know. I just thought I could take a shortcut for this simple databsae Jan 01 20:37:08 Also, I thought I was being smart by creating an AbstractFirebaseDatabase but this premature frameworking just backfired. Jan 01 20:40:17 Too much reality for this first day of the year Jan 01 20:43:49 Okay, I can extends Location and I have made a no-arg ctor, but I still get the error: LocationWithNoArgCtor is missing a constructor with no arguments Jan 01 20:44:06 This is rather awkward Jan 01 20:53:55 Zta: http://stackoverflow.com/questions/41192002/firebase-latlng-is-missing-a-constructor-with-no-arguments Jan 01 20:54:31 This is exactly what I have done now. Jan 01 20:54:48 Thanks for your kind efforts anyway =) Jan 01 20:54:53 :) Jan 01 20:56:04 is your class a subclass? Jan 01 21:02:54 No, it's a fresh POJO Jan 01 21:03:55 with public double latitude, longtitude; and a public no-arg ctor. Jan 01 21:04:18 And a ctor that takes an android.location.Location for ease of use. Jan 01 21:11:31 Zta: shouldn't there be public accessors? Jan 01 21:11:49 nah Jan 01 21:11:59 Too elaborate. Jan 01 21:12:24 I know it's the JEE standard. But this is no JEE; it's an app. Jan 01 21:13:00 no, I supposed there should be accessors for firebase to manipulate the object. But I could easily be wrong Jan 01 21:14:17 It works. It appears to rely heavily on reflection (hence the error about the missing no-arg constructor earlier) and simply reads out key-value pairs and tried to populate object fields at its best. Jan 01 21:14:27 Then agan, I could be wrong too. Jan 01 21:35:39 Zzz... Jan 01 21:39:58 why does I have to explicitly rotate my device to make my activity turn in landscape mode? Jan 01 21:40:30 If I start the activity while the device is in landscape mode it still appears in portrait Jan 01 21:44:55 Melatonina Do you have portrait mode locked? Jan 01 21:45:29 If I have the device horizontal both previously opened and newly launch apps start landscaped. Jan 01 21:46:00 If you are coming from the launcher then it will spin the view, as I dont think the launcher can be horizontal Jan 01 21:47:08 did you set screenOrientation ="value " in AndroidManifest ? Mela Jan 01 21:47:10 no, I don't have portrait locked (otherwise it would not spin at all) Jan 01 21:47:29 this activity is started by another activity in the same app Jan 01 21:48:44 i had this problem and then i used screenOrientation = "fullSensor" it worked for me Jan 01 21:56:06 What version is the device? I have a tablet that I think might have this issue Jan 01 21:58:09 Nexus 5X Android 6.0.1 API 23 Jan 01 22:15:06 Hi all! Can someone tell me if Android supports adding external camera as a main camera? For example adding GoPro or similar camera as a main camera in app? Thanks :) Jan 01 22:18:27 Melatonina : have you set screenOrientation to fullSensor ? Jan 01 22:47:36 does anyone know how to get html source of webpage in WebView when it loads by ajax ? Jan 01 23:10:31 does anyone know how to get html source of webpage in WebView when it loads by ajax ? Jan 01 23:49:25 Hey. I have a hard time googling for information on accessing server sockets *on* an android emulator, since basically all results are about accessing a server socket *from* an android emulator. Can someone point me to helpful ressources? Jan 02 01:49:09 anyone have recommendation for book on aws lambda or "serverless" architectures ? **** ENDING LOGGING AT Mon Jan 02 03:00:00 2017