**** BEGIN LOGGING AT Sat Jan 02 02:59:59 2016 Jan 02 03:06:15 I KILL PEOPLE DEAD!!! Jan 02 03:06:22 wrong channel Jan 02 04:04:07 guys im trying to show a dialog when an item in a recyclerview is clicked. Ive defined the dialog which extends DialogFragment but when trying to call .show in the items onclick, i cant get a reference to getFragmentManager. Any ideas? Jan 02 04:07:03 orbyt_, I assume you're trying to get the fragment manager from a class which isn't a fragment/activity. If your recylcer stuff is an inner class you can use WhateverFragment.this.getFragmentManager(...) Jan 02 04:07:43 orbyt_, otherwise you can define a function to pass in the fragment manager when you make your recyclerview stuff Jan 02 04:07:53 and just keep a reference to it inside your recycler handler class Jan 02 04:09:21 dragorn: well I pass in the context to my adapter when creating it, so I had that. Ended up doing this, seems to work: ((Activity) mContext).getFragmentManager() Jan 02 04:09:36 assuming your context is an activity, yeah Jan 02 04:09:46 yup. thanks Jan 02 04:36:08 hello people, first of all - wishing a happy new year.. Jan 02 04:36:48 secondly, i am looking for a way to switch display managers on my android mobile similar to how i can switch dm's on my linux machine Jan 02 04:37:16 without having to chnage anypart of the core OS - i can remove the gnome dm and install the kde dm along with its dependencies Jan 02 04:37:21 is this possible with android os ? Jan 02 04:37:47 no Jan 02 04:38:00 pfn: thank you for replying Jan 02 04:38:32 pfn: why not ? can you suggest a link where i can read from please ? Jan 02 04:39:17 i kinda hate the motog's way of displaying and would like to switch to something like zenui Jan 02 04:39:49 where it is more organized Jan 02 04:41:25 solofight: search xdadevelopers for alternate moto g roms Jan 02 04:44:48 shmooz: thank you - ended up here http://forum.xda-developers.com/moto-g-2014/help/irc-t3050627 Jan 02 04:45:00 shmooz: they say no specific rooms :( Jan 02 04:49:30 hey devs. Jan 02 04:49:46 do you have to restart AS to get it to see your device? plugged in via USB? Jan 02 04:51:11 no Jan 02 04:52:00 I find that sometimes AS stops recognizing the device and a restart might help. was curious if others see that. Jan 02 05:01:07 AT&T buys CarrierIQ assets & staff Jan 02 05:01:18 seems they are still using it Jan 02 05:07:24 still no NumberPreference kind of thing O.o Jan 02 05:50:32 yo nerds direct to the chromium chatroom Jan 02 05:59:50 <_genuser_> anybody home?> Jan 02 06:04:49 So, I'm wanting to start developing apps for Droid, the basic gist I've learned so far is to learn Java. Is this true? Jan 02 06:05:30 a) it's called Android, and b) yes Jan 02 06:06:06 Ah yes. There you are, freenode. Jan 02 06:09:16 how is it so hard to type android Jan 02 06:35:16 lol Jan 02 06:40:29 imma punch some nerd faces Jan 02 07:02:13 guys what does it mean if a query to my db is returning 2? Jan 02 07:02:27 SQLite site says its an internal error :\ Jan 02 07:26:50 <_genuser_> importing solution into AS, causes dupilcates of many files. Jan 02 07:26:52 <_genuser_> interesting. Jan 02 09:57:13 Can you open apk in application maker and edit it to update orginal app? Jan 02 09:57:22 Hello Jan 02 10:07:01 Thonza: whats application maker? Jan 02 10:07:40 plz any one working for Android by c++ or qt Can help me ? Jan 02 10:19:46 android.database.sqlite.SQLiteException: near "Pro": syntax error (code 1): , while compiling: SELECT * FROM items WHERE item_backpack = 1 AND item_name = Macbook Pro Jan 02 10:20:09 Do i need to do something special to query a field for a multi word string in SQLite?? Jan 02 10:21:52 Akayllin: how are you building that query? Jan 02 10:23:00 String query = "SELECT * FROM " + TABLE_ITEMS + " WHERE " + KEY_ITEM_PARENT_BACKPACK Jan 02 10:23:00 + " = " + MainActivity.currentBackpack.getID() + " AND " + KEY_ITEM_NAME + " = " + itemName; Jan 02 10:23:27 then yes, you need to quote your string values Jan 02 10:24:25 single or double? at the end just KEY_ITEM_NAME + " = '" + itemName + "'";? Jan 02 10:25:49 afair it doenst matter Jan 02 10:25:58 single quote would be easier to read though Jan 02 10:40:33 thanks :) Jan 02 10:47:31 <_genuser_> hey devs. anybody working? Jan 02 11:03:33 yes Jan 02 11:38:41 greetings. Jan 02 11:54:44 Concerning JNI. What is the difference between this declaration: JNIEXPORT jstring JNICALL Jan 02 11:54:44 Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env, jobject thiz ) Jan 02 11:55:03 and this one: jstring Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env, jobject thiz ) Jan 02 11:55:31 I hope no-one has a hangover. Jan 02 11:56:44 uuhm Jan 02 11:56:57 NeoFrontier, the missing JNIEXPORT and JNICALL? Jan 02 11:58:34 Mavrik. Um. Cant argue with you on that one. hehe. Thing is both seems to work just fine. And the latter one is he one found in the hello-jni example. Jan 02 11:59:01 if you check the headers: #define JNIEXPORT __attribute__ ((visibility ("default"))) Jan 02 11:59:10 So JNIEXPORT just sets visibility to default for that method Jan 02 11:59:27 that means that if you set your method visibility to "hidden" by default, only those marked with JNIEXPORT will be visible outside the .so file Jan 02 11:59:35 and linker will be able to remove all unneeded code Jan 02 11:59:45 #define JNICALL __NDK_FPABI__ Jan 02 11:59:52 aaaaaah Jan 02 12:00:02 No idea what this does though, in older NDKs that was just an empty define Jan 02 12:00:05 and the light shines upon me. Jan 02 12:00:13 But it seems to be required for the hardfp hacks Android does. Jan 02 12:00:20 I suggest you keep both :) Jan 02 12:06:50 And happy new year. Jan 02 12:06:53 :D Jan 02 12:07:13 ^^ Jan 02 12:16:38 saves 35ms of live ones a week Jan 02 12:16:42 https://github.com/vigilancer/scripts/blob/master/gen-store-android.py Jan 02 12:17:09 35ms ? Jan 02 12:17:22 lol Jan 02 12:17:28 or once a month Jan 02 12:17:28 a must install. Jan 02 12:17:30 ;) Jan 02 12:17:33 -D Jan 02 12:17:59 35 ms for me not so much. but 35 ms for 100 devs - really makes a difference -D Jan 02 12:18:00 Took 6 Months to write ? Jan 02 12:18:11 couple hours Jan 02 12:19:43 ^^ ' Jan 02 12:23:06 hey. Jan 02 12:32:20 <_genuser_> so I'm trying to have an activity that can main the UI and it's orientation but doesn't actually lock the Activity to either Landscape or Portraint. Jan 02 12:32:46 <_genuser_> In other words, any popups, toasts, DialogFragments all popup in correct orientation but the original activity UI doens't rotate. Jan 02 12:32:51 <_genuser_> any ideas? Jan 02 13:07:22 How does Android Studio know which project to open when you start it? I am working with 2 projects (1 per window) and every time I start it it only opens the first one Jan 02 13:07:39 It would be really handy if it opened them both when I start Android Studio Jan 02 13:07:48 dimitrovskif, it always opens the last one you worked on Jan 02 13:07:58 i think you can only tell it to open none of them instead Jan 02 13:09:12 danijoo: hmm is there any argument to open a specific project (by iml ?) Jan 02 13:09:13 at least from what I see in the settings Jan 02 13:09:20 no idea Jan 02 13:09:57 It's time consuming to do Open Project -> navigate to project folder all the time, especially since I am working on some library code and an app at the same time Jan 02 13:10:13 I should probably import library project as an additional module in my app Jan 02 13:10:47 yeah I think you should do that Jan 02 13:11:00 here's the lib https://github.com/dimitrovskif/SmartCache :) Jan 02 13:12:28 As I need more features for the app, I write some lib code too haha Jan 02 13:12:49 a cache for retrofit? Jan 02 13:13:58 Retrofit already has http cache but this one has some app layer caching, so that you can load data before the request even finishes (or times out) Jan 02 13:14:28 If you have an async callback, it will get instantly called with cached data and then later called if network data is received Jan 02 13:14:38 ah thats actually pretty cool Jan 02 13:14:47 im doing this in one of my apps manually Jan 02 13:15:04 yeah, basically your app will never need a loading bar (except the first time you open the app) Jan 02 13:15:07 by making one request with only-if-cached header and another one immediatly after that without it Jan 02 13:15:33 The thing is I am not sure how thread safe this is, and there are a lot of edge cases Jan 02 13:16:00 I star'ed your lib for if I ever feel like switching to retrofit 2 :p Jan 02 13:16:09 im still on 1 right now :/ Jan 02 13:16:15 Thanks, do switch. Jan 02 13:16:19 <_genuser_> so I have layout, and layout-land Jan 02 13:16:23 But don't use my lib haha Jan 02 13:16:34 <_genuser_> in a test activity, it picks up the correct layout for portrait and landscape. Jan 02 13:16:35 I dont see pros in switching right now Jan 02 13:16:38 <_genuser_> but in another activity it doesn't. Jan 02 13:16:41 <_genuser_> odd behavior. Jan 02 13:16:42 never change a running system ;) Jan 02 13:17:09 Until https://github.com/square/retrofit/issues/1367 gets fixed, my lib is quite dangerous Jan 02 13:17:23 ok ^^ Jan 02 13:17:35 Because it uses reflection as a work-around for the issue Jan 02 13:19:46 _genuser_: Weird, what are the differences between the activities? Jan 02 13:21:30 _genuser_: Check android:configChanges in your manifest? I guess comparing the activity declarations in manifest and the code should help you find the issue Jan 02 13:25:17 <_genuser_> dimitrovskif: running more test cases now. :) other than UI, nothing different in how they're declared in teh manifest. Jan 02 13:25:45 <_genuser_> dimitrovskif: of course, the darn emulator being restarted on it's own doesn't help. Jan 02 13:26:44 I test using my devices mostly, but try Genymotion I heard it's good Jan 02 13:27:52 <_genuser_> dimitrovskif: yeah, I was using my device, but one of them has crapped out and the other is finicky. it's probably the cable. it doesn't always get recognized. Jan 02 13:27:59 the new stock emulator is pretty awesome too Jan 02 13:28:16 <_genuser_> danijoo: but you have to go to an unstable AS version, yeah? Jan 02 13:28:28 even worse. canary ^^ Jan 02 13:28:39 the unstable version of unstable :p Jan 02 13:28:52 <_genuser_> all I want is a camera app, that doesn't restart the activity on rotate but loads a different UI. Jan 02 13:29:00 <_genuser_> so the controls move around but the view and the activity stays the same. Jan 02 13:29:06 <_genuser_> danijoo: heh. Jan 02 13:29:07 Running a virtual android x86 should be fun too Jan 02 13:29:14 why not recreate? Jan 02 13:29:23 dimitrovskif, thats basically genymotion then Jan 02 13:29:29 it builds on x86 Jan 02 13:29:45 Never used it haha, but I always hear it's blazing fast Jan 02 13:29:58 <_genuser_> danijoo: recreating a camera app activity si quite ugly. even the android camera apps don't do that. it takes a while to fire up the device. Jan 02 13:30:16 Camera code is the ugliest, ugliest part of Android development Jan 02 13:30:44 <_genuser_> dimitrovskif: pretty mch. Jan 02 13:31:00 <_genuser_> ok, so I have an xml layout file in layout-land and it's loading it for portrait too. Jan 02 13:31:03 <_genuser_> ugh. Jan 02 13:31:21 <_genuser_> shouldn't it be picking the regular layout/activity.xml for portrait and layout-land/activity.xml for landscape? Jan 02 13:31:26 The API isn't designed really good and the manufacturers suck at implementing them, so many differences Jan 02 13:32:28 <_genuser_> oh wait, the layout-land and layout-port only work for the startup. once it's started ina given orientation, it just rotates that UI over and over. Jan 02 13:32:35 <_genuser_> it doesn't reload on rotation. Jan 02 13:33:34 Ofc, you need to re-create the activity Jan 02 13:34:32 <_genuser_> well, so then I guess I need to physically force load a new layout and inflate, it eh? Jan 02 13:34:52 <_genuser_> can I inflate a partial layout? Jan 02 13:35:10 <_genuser_> keep camera preview surface around and just reload the reest of the layout Jan 02 13:35:24 sure Jan 02 13:35:42 make a new xml with the part and inflate it in your root view Jan 02 13:35:54 Depends on how the layout tree looks Jan 02 13:36:12 <_genuser_> framelayouts one after another. Jan 02 13:36:40 Should work then Jan 02 13:36:59 <_genuser_> so I can do so I can just inflate new stuff in framelayout 2, eh? Jan 02 13:37:23 yep Jan 02 13:37:30 <_genuser_> I was happy just locking the entire thing to landscape. Jan 02 13:37:35 remove crap and then add other crap will work Jan 02 13:37:44 I guess so, you should probably check out googlesamples cameras Jan 02 13:37:52 <_genuser_> but then popup dialogFragments and toasts are all landscape too even if you're holding it portrat,. Jan 02 13:38:15 I don't think they even inflate when changing rotation, they just apply some animations Jan 02 13:38:22 <_genuser_> I saw samsung camera app, and nothing changes at all. nothing flickers. Jan 02 13:38:29 <_genuser_> it doesn't seem like they load any new layout either. Jan 02 13:38:43 <_genuser_> but still the popup dialogs change orientation. BUT they all seem custom popup dialogs Jan 02 13:38:47 <_genuser_> not android standard dialogs. Jan 02 13:38:50 Yeah I think most cameras just reposition/apply some animations Jan 02 13:39:21 <_genuser_> I'd have to write custom dialogs that rotate, or just hack it this way. I'm not sure which is more.... trouble. Jan 02 13:39:56 Hrmf, shouldn't defining configChanges="orientation" pretty much handle popup dialogs rotating without the main activity? Jan 02 13:41:06 <_genuser_> Mavrik: it does, but then my problem becomes, not wanting the UI to rotate. Jan 02 13:41:48 <_genuser_> Mavrik: in landscape, right side has a panel for "snap" picture. when you go portrait, it rotates and then there's a panels on the right again with the button. Jan 02 13:42:27 <_genuser_> Mavrik: in this case when using configchanges, I'd like to specify a different layout so I can load a different UI on portrait which moves the button on the bottom. Jan 02 13:46:44 How to preserve a jwt token? just save to a file? Jan 02 14:27:45 Can any one help with QAndroidJniObject plz ? Jan 02 14:43:10 i'm using retrofit, Rxjava, and RxLifecycle in my application to handle lifecycle changes, but I'm not especially happy with the solution - is it possible to defer observable sequences until after the lifecycle change has completed? e.g. when I rotate my activity I don't really want to cancel my async call, I just want to defer it until the rotation has completed Jan 02 14:45:42 I feel like I'm missing something here. Jan 02 14:46:23 Hey there! I am extending a ViewGroup (called CameraLayout) and manually invoking onLayout(). I add a TextView in the constructor of CameraLayout. The TextView is correctly positioned and sized, but the text i set in the constructor does not show up. Jan 02 14:46:46 Do i have to call invalidate() or somthing at some point when manually layouting a Textview? Jan 02 15:04:06 Figured it out. Apparently, TextViews's setText() method needs layoutParams to be set to be able to correctly draw it's text. Jan 02 15:14:37 where is the sha-1 checksum on android studio's download section? Jan 02 15:14:53 i see one for 1.40* but not the latest version Jan 02 15:16:51 heh, nevermind I found it Jan 02 15:16:57 * ccup slaps himself Jan 02 15:20:12 hello guys, which source this uses " Uri gmmIntentUri = Uri.parse("geo:37.7749,-122.4194");" to get those markers ? Jan 02 15:23:39 this is an URI. the markers are part of the maps library Jan 02 15:23:42 or apl Jan 02 15:23:43 apk Jan 02 15:31:29 danijoo: my connection lost, can you say again ? Jan 02 15:32:04 its part of the library or the apk. Jan 02 15:32:16 and has nothing to do with the URI Jan 02 15:32:45 which source that uses then ? how can i parse all those information ? Jan 02 15:33:04 the source is what i need Jan 02 15:33:25 isnt it like this http://www.edinburghopendata.info/de/dataset/dfbad5c6-4309-4e49-9627-b0f309370ceb/resource/a2b4ebc7-5946-42c2-a483-cb8c24326554/download/hotels.geojson ? Jan 02 15:33:36 or where all markers information come from ? Jan 02 15:35:55 cant see markers. only a list of geocoords Jan 02 15:36:25 the maps api creates the markers fromthe geocoords if you pass them the coords with the ui Jan 02 15:36:30 uri* Jan 02 15:36:45 my connection lost again :( :D Jan 02 15:37:19 which source it uses? like http://www.edinburghopendata.info/de/dataset/dfbad5c6-4309-4e49-9627-b0f309370ceb/resource/a2b4ebc7-5946-42c2-a483-cb8c24326554/download/hotels.geojson Jan 02 15:37:21 ? Jan 02 15:37:21 well. I wont say everything twice :/ good luck then Jan 02 15:37:28 :D Jan 02 15:37:31 you wont die Jan 02 15:40:22 How to check that a user has a validation to get past the login screen on an app, without checking the backend/using mobile data? It needs to work offline, and Im, using Json Web tokens for authentication. Jan 02 15:40:24 ? Jan 02 15:40:46 Like when I open the twatter app it doesnt make me log in every time, and I can use it offline. How does it know that im allowed to look at my timeline? Jan 02 15:41:00 caching Jan 02 15:41:36 but what specifically? Cant Strugling to find anything on Google :( Jan 02 15:43:19 Other than checking the expiry time on my json web token Jan 02 15:43:28 but thats just a file on the filesystem Jan 02 15:43:40 you can cache the data you are showing and only validate if you query for new data Jan 02 15:44:49 Oh I understand were its getting the data from - but not how it leaves me 'logged in' without checking anything with twitters backend Jan 02 15:44:54 just using twatter as an example btw Jan 02 15:45:49 it just shows you stale data until its able to check with the backend Jan 02 15:46:00 and then logs you out in the app if verification fails Jan 02 15:46:07 at least thats what i guess Jan 02 15:47:51 yeah i guess it just doesnt check Jan 02 15:47:57 http://stackoverflow.com/questions/19799416/how-do-popular-apps-authenticate-user-requests-from-their-mobile-app-to-their-se Jan 02 15:49:36 twitter and google also provide libraries to do that Jan 02 15:49:48 from twitter theres also a lib to auth via phone number Jan 02 15:49:55 yeah im using Phonegap though :( Might just develop it natively Jan 02 16:56:13 How come JakeWharton has not touched the ViewPager Indicator lib in a few years? Jan 02 16:58:07 maybe he dont feel its neccessary since theres TabLayout in support lib Jan 02 16:58:46 What if you need indicators without tabs though Jan 02 16:59:07 the lib is still useable Jan 02 16:59:22 Right Jan 02 16:59:55 ¨These widgets can also be used in conjunction with ActionBarSherlock!¨ wow Jan 02 17:00:10 this really didnt get and update for a long time ^^ Jan 02 17:00:45 Yeah hah Jan 02 17:03:09 If you create letters for a word game in Word or paint or pinta, do you own it yourself? is there some legality issues in using the fonts provided by those fonts? Jan 02 17:03:18 It would seem silly if there is I just want to make sure Jan 02 17:04:32 S_J, no idea but if you want to be sure, you can use an open source font Jan 02 17:04:36 there are lots of them Jan 02 17:05:16 most of the fonts shipped with Windows are either open source or owned by microsoft I think Jan 02 17:05:22 Hi anyone using the translation editor within android studio with ~13+ languages? For me it becomes unusable then, but i cant find a way to limit the shown langauges other than removing them temporarily Jan 02 17:05:23 they might have a legal paper on that Jan 02 17:20:02 is there any risk in getting caught using it though? Jan 02 17:38:47 How can I replicate in Android Studio linking source directories when building? I'm trying to migrate an open-source Eclipse+ADT project to Android Studio, and I can't seem to get this directory full of Java code to be included in building. Jan 02 17:40:27 is anyone else having problems with XML autocomplete working in AS while editing preference XML resources ? Jan 02 17:59:49 g00s, works fine for me on latest canary Jan 02 18:00:23 oh you, using the latest canary :D Jan 02 18:00:55 willbuntu: have you tried import eclipse project in AS? in most cases AS resolves issues and change dir structure Jan 02 18:01:05 http://i3.kym-cdn.com/photos/images/facebook/000/511/991/3a5.jpg Jan 02 18:01:18 well more specifically, it autocompletes attribute names, but won't resolve @string references in those Jan 02 18:01:50 danijoo :D Jan 02 18:09:21 i have imported the eclipse project into AS through the set-up wizard; it turns out that the answer here: http://stackoverflow.com/questions/18947314/how-to-add-a-linked-source-folder-in-android-studio is useful ... but now i'm having trouble with ndk c/c++ files in the project that #include headers not available within the immediate directory of the file Jan 02 18:09:44 is there some way to adjust or alter ndk compilation/building settings to add necessary folders to compilation/build paths? Jan 02 18:39:34 Can i call stopSelf() in a Sevice's onCreate(...) method? Basically: "onCreate() { if (!preferences.runInBackground) { stopSelf(); } }" Jan 02 18:40:02 Wondering since it have not started yet (so stopSelf sounds weird to do) Jan 02 18:40:43 imo its ok Jan 02 18:41:40 will this prevent onStartCommand from being called? Jan 02 18:42:01 i dont know Jan 02 18:42:20 personally i wouldnt even try to start service if it shouldnt be started Jan 02 18:44:10 Hehe. Good point. I could also just try, but afraid that milage may vary on API versions or something Jan 02 18:46:01 As4xk, you can call stopSelf() in onCreate() and onStartCommand() will still be called Jan 02 18:47:32 EPG: What happends if i then return START_STICKY from onStartCommand? Will the service still stop and be destroyed? Jan 02 18:47:33 i really need a way to determine the number of characters i can output on each line of a textview given a specific typeface etc Jan 02 18:49:06 iirc it will stop but I'm not 100% sure Jan 02 18:49:57 mark4: i would assume that depend on which characters (if not monospace font) Jan 02 18:50:08 nice, a new release of google protobuf3 Jan 02 18:50:11 As4xk, it will be monospace of course Jan 02 18:50:22 Is it possible to round the corners of textures in libgdx or does it have to be done in the image already? Jan 02 18:51:06 i would assume you could do that with a mask Jan 02 18:53:38 As4xk, given that is it possible? Jan 02 18:54:03 are monosoace fonts as wide as they are tall? Jan 02 18:54:09 i know the height, i set it Jan 02 18:54:21 Hi everyone. Is it possible to show a fragment inside a dialog? The dialog is shown in a different window and activity's FragmentManager cannot find the container id that I'm referencing. Jan 02 18:55:07 If done via xml using it works fine. Jan 02 18:58:33 mark4: http://stackoverflow.com/a/5970785/1368104 This test wether a string will fit on one line. You could call this many times with longer and longer text until it fails Jan 02 19:00:14 As4xk, thats not really a good way to do this and thats assuming a non fixed font. i was hoping there was an actual way to do this without having to do stupid repeated tests Jan 02 19:00:56 mark4 your problem - are you looking to restrict the width of the textview to N characters ? Jan 02 19:01:25 no the textview is a specific pixel width as set in my layout xml file Jan 02 19:01:36 mark4: It doesn't matter that this assumes non fixed font. If you do the test with any letter (lets say m), then you know that for your case (monospace) the same number will apply for any other text Jan 02 19:01:47 i have a font that i have a fixed width font that i have set to a specific point size. i know the height Jan 02 19:02:08 i need to also know the width of each character. this will tell me how many columns of text there are in that textveiw given this font size Jan 02 19:03:18 As4xk, its still a screwed up TRICK. All i had to do was divide the pixle heiught by the font point size * the line spacing and i have the number of rows Jan 02 19:03:23 now i need the number of columns Jan 02 19:03:31 rows = vHeight / (int)(FONT_SZ * 1.3f); Jan 02 19:03:41 i should be able to do cols = math math math; Jan 02 19:04:03 not for(i = 0; i < 345345.; i ++) { try this bullshit till it works } Jan 02 19:04:34 and i want to do this calculation ONCE> not once per string Jan 02 19:05:50 do a binary search from 0 to 2^16. This requires 16 tests :) Jan 02 19:06:02 at most 16* Jan 02 19:06:38 might be a better way that i do not know of. Use this if it is helpfull. If not, do something else. Jan 02 19:07:12 this will work, its just 10 times the amount of code i SHOULD be able to do this in. this should literally be a 1 liner Jan 02 19:07:36 MAJOR fucking oversight on the part of google if they dont actually have a way to do this sanely Jan 02 19:08:08 nope Jan 02 19:08:16 you can call it that if you want Jan 02 19:08:34 how much text fits in a single line depends on the text Jan 02 19:09:01 you can test if a particular line fits with practically a 1-liner Jan 02 19:09:35 test.. fail. adjust.. loop till no fail... Jan 02 19:09:36 but you cannot ever determine how much text will fit in a single line, unless you are using a mono space font Jan 02 19:09:49 i AM using a mono space font as stated above Jan 02 19:09:54 thats the ENTIRE point. Jan 02 19:10:14 then you can just detect the font metrics and divide Jan 02 19:10:18 that's easy Jan 02 19:10:22 how do you tell how many characters will fit on one row of a textview given a specific MONO SPACE font set at a specific point size Jan 02 19:10:36 there does not seem to be a font metric for character pixle width Jan 02 19:12:11 measure a single character's width Jan 02 19:12:18 how? Jan 02 19:12:42 using layout Jan 02 19:12:45 and that wont give me the character width, thers space to the left and right of that character Jan 02 19:13:23 i have no idea what your suggesting or how to implement it :/ Jan 02 19:14:31 anyway, I dislike silly tones complaining about oversight when there isn't Jan 02 19:14:50 you use the text layout classes to measure an arbitrary amount of text Jan 02 19:15:03 you can sample that to determine character and spacing width Jan 02 19:15:14 i need to know this BEFORE i write any text to the textview. not after i already fucked up the display Jan 02 19:15:15 duh Jan 02 19:15:18 ty for the help Jan 02 19:15:27 you do this before drawing text Jan 02 19:15:28 duh Jan 02 19:18:25 Hello Jan 02 19:18:28 I have an LG L34C phone that is giving Unfortunately, the process com.android.systemui has stopped. Does anyone know of a way to get this to stop? The phone claims they cannot help me with the issue and it is too old for them to replace it. Also cannot afford a new phone Jan 02 19:18:50 Jorja, wrong channel. Jan 02 19:18:55 this is app development Jan 02 19:19:11 I waS told to askj here Jan 02 19:19:19 mark4: read on ViewTreeObserver Jan 02 19:19:39 Jorja: try #android or #android-root Jan 02 19:19:40 Jorja, they fooled you Jan 02 19:26:36 I asked in android Jan 02 19:33:24 i get that on my avd sometimes Jan 02 19:38:07 ? Jan 02 19:39:05 the com.android.systemui has stopped message Jan 02 19:39:08 i get it on my adv Jan 02 19:47:23 Errr... how long is a normal startup time for an Android SDK ARMv7 emulator Marshmallow image? Jan 02 19:48:28 between 15 seconds and one hour Jan 02 19:50:12 thats quite big interval dont you think Jan 02 19:50:29 yes. but its true because it only depends on your machine Jan 02 19:52:12 hmm, my machine is a i7-3770... looks like it's frozen or something... Jan 02 19:52:33 NyB, check the logs Jan 02 19:52:42 and make sure you have virtualization enabled in bios Jan 02 19:52:55 mark4: is there a way to satop it Jan 02 19:53:24 danijoo: I do have vt-x enabled, but why would it help with ARM emulation? Jan 02 19:53:38 Jorja, no idea. no idea why im getting it on an AVD either Jan 02 19:53:56 no idea. I dont use ARM images but I think virtualization must be enabled for every kind of emulator Jan 02 19:54:12 danijoo: nope, only for x86 emulation Jan 02 19:54:18 good to know :) Jan 02 19:54:30 is there something suspecious in the avd log? Jan 02 19:54:45 I just restarted the thing and now it started... Jan 02 19:55:07 it's slooooooowwwww, though... Jan 02 19:55:14 nothing like the real thing... Jan 02 19:56:57 yeah because its arm Jan 02 19:57:06 try the x86 one if you want it to be fast Jan 02 19:58:01 how many android devices actually use x86? Jan 02 19:58:15 not much Jan 02 19:58:34 but its faster for emulation so you usually use x86 Jan 02 19:58:42 i cant Jan 02 19:58:57 im developing NDK in assembler :P Jan 02 19:58:59 for arm Jan 02 19:59:07 thats another story ;) Jan 02 19:59:43 That's silly. :P Jan 02 20:00:41 Mavrik, i wrote a forth compiler dynamic library for android. i can compile forth sources at run time and do JNI stuff without needing to do JNI stuff Jan 02 20:00:54 oh... you are the forth guy .. Jan 02 20:01:02 i remember that ^^´ Jan 02 20:01:21 just call me a heretic. i dont mind :) Jan 02 20:01:27 kites fly highest against the wind Jan 02 20:01:32 -- Winston Churchill -- Jan 02 20:02:32 Anyway, an actual device is your best bet. Jan 02 20:02:48 Since if you wanna do any serious debugging qemu will step in your way in the emulator. Jan 02 20:03:14 99% of my debugging is with printf's :) Jan 02 20:03:26 writing to log.d etc Jan 02 20:04:09 What is right initialization for TelephonyManager ? Jan 02 20:04:09 this TelephonyManager manager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); Jan 02 20:04:09 or TelephonyManager manager = ( TelephonyManager ) getSystemService( Context.TELEPHONY_SERVICE ); Jan 02 20:04:35 thats 2 times the same AmR|EiSa Jan 02 20:04:53 assuming you are in an activity Jan 02 20:05:01 because Activity extends Context ;) Jan 02 20:07:44 yes Jan 02 20:08:29 i have set ANDROID_HOME on debian but when i run selendroid server it says : Exception: Environment variable 'ANDROID_HOME' was not found! Jan 02 20:08:56 did you export the variable? Jan 02 20:09:32 export ANDROID_HOME=/somewhere Jan 02 20:09:53 nyuzika7h : i opened .bashrc and then put in that ANDROID_HOME=/somewhere Jan 02 20:10:37 but it did not work Jan 02 20:10:43 My code at http://stackoverflow.com/questions/34567926/calling-java-static-method-from-qt-c-not-working Jan 02 20:11:19 danijoo: ^^^ Jan 02 20:11:21 iresf: you need to add "export" before ANDROID_HOME Jan 02 20:12:02 even in .bashrc is indeed ? Jan 02 20:13:13 yes you need to export it, otherwise only bash can see the variable, not child processes Jan 02 20:13:30 oh Jan 02 20:14:32 i did it i have to restart then i will come here and i will tell you it's resul Jan 02 20:14:33 Can I have some java help plz ? Jan 02 20:14:46 does anyone else here notice their avd getting slower the longer they use it? Jan 02 20:15:41 mark4 use android-x86 Jan 02 20:16:06 amr been over that already. cant. my project is arm assembler Jan 02 20:16:24 its not that that slows the avd down tho, i get the same thing happening when i just do pure java stuff on it Jan 02 20:16:25 mark4: ^ Jan 02 20:16:32 the longer its running the slower it gets Jan 02 20:17:25 not happening for me. Jan 02 20:17:29 I think you can reset the avd Jan 02 20:18:16 i close it and let it reboot. there are times when i click the debug button and the app builds and 20 minutes later the avd is still sitting there stalled and the app is still being pushed over to it from the ide Jan 02 20:18:33 thats usually when i have a infinite loop bug in my asm code tho lol Jan 02 20:18:44 0: b 0b # oopts Jan 02 20:18:54 mark4, the new emulator has faster adb service Jan 02 20:18:56 emulator 2.0 Jan 02 20:19:16 same with me about avd. Jan 02 20:19:41 danijoo, yea im waiting for As 2.x to be released before i switch Jan 02 20:22:24 danijoo, does it work with intellij idea? i dont want to switch to AS yet Jan 02 20:23:37 mark4 if you want the most recent android features, you need AS Jan 02 20:23:52 intellij is horribly behind in AS features Jan 02 20:23:58 they havent merged changes for a long tie Jan 02 20:24:02 time * Jan 02 20:24:21 g00s understood. wont be switching till google implements a automatic project migration from IJ to AS Jan 02 20:24:48 mark4 good luck waiting Jan 02 20:24:51 huh? Jan 02 20:25:14 i took a basic look at gradle and agree its better but im not taking 3 weeks out of my development to a) learn it properly and b) port over my existing projects Jan 02 20:25:35 then dont, stay on IJ Jan 02 20:25:42 im find with that too Jan 02 20:26:07 waiting for google be like.. http://cdn.meme.am/instances/65515111.jpg Jan 02 20:26:18 actually though i can create a new project and move my sources into that Jan 02 20:26:34 the BIG problem is the complete and utter lack of support for any REAL ndk development in AS Jan 02 20:26:58 mark4, too bad theres no forth support in AS yet, eh :p Jan 02 20:27:10 my ndk code wont build under android studio Jan 02 20:28:02 its like google has 4000 developers developing for tools for java coders. they have 4 people working on the ndk and 3 of them are on vacation and the 4th is on a donut break Jan 02 20:28:24 I think thats pretty close to reality :D Jan 02 20:29:51 there are a lot of games out there that could be ported to android by game companies but the port would really be a complete rewrite because google is telling them all "fuck you" Jan 02 20:30:03 Well if you refuse to learn how building of your project works, then it's not wonder your shit doesn't work. Jan 02 20:30:10 But honestly, that's not really Google's problem now is it? :- Jan 02 20:30:12 my shit does work Jan 02 20:30:38 It's like whining why you can't build anything in C when you refuse to learn makefile/cmake basics. Jan 02 20:30:43 what doent work is that android stupidio does not have the NDK hooks even for the current state of the NDK Jan 02 20:30:54 c? Jan 02 20:31:21 ive been developing in C for 30 years and i dont know SSHIT about cmake Jan 02 20:31:43 thats ok, cmake kinda sucks too Jan 02 20:31:43 And that most certanly isn't a good thing. Jan 02 20:31:43 CSHIT Jan 02 20:31:56 g00s, cmake is awesome. Jan 02 20:32:02 (Most of the time.) Jan 02 20:32:13 (Other times is just less terrible than autotools.) Jan 02 20:32:37 in the past week i grabbed two cmake projects which failed building because it didn't check dependencies right Jan 02 20:32:52 Mhm. Jan 02 20:33:01 Wonderful world of C/C++ :) Jan 02 20:33:03 g00s "It builds on my machine (tm)" Jan 02 20:33:07 Always remember that when bitching over Gradle. Jan 02 20:33:15 There are languages where there's no dependency management ;) Jan 02 20:34:15 anyone here uses an AMD computer? Jan 02 20:35:22 atif089, ask what you really want to ask ;)\ Jan 02 20:35:39 the other side of the spectrum is the JS guys depending on a string library, because they have little runtime library :P Jan 02 20:36:02 :P Jan 02 20:36:29 The lesson here is - learn your shit. Noone tolerates laziness. Jan 02 20:36:54 danijoo: my FX-6100 takes about 150 seconds to load an android emulator, If I don't want to move to Intel, is there any better AMD processor or tweaks that can help me get better performance Jan 02 20:37:07 And bitching from ignorance does bad things to your reputation. Jan 02 20:37:21 atif089, what emulator image? x86 or arm Jan 02 20:37:29 atif089 AMD still in business ? you're probably switching sometime :D Jan 02 20:37:56 danijoo: either.. pretty much the same Jan 02 20:38:12 danijoo, x86 image doesn't really work well on AMD machines Jan 02 20:38:13 g00s: I hope not Jan 02 20:38:19 danijoo, due to retarded HAXM lockin Jan 02 20:38:33 Wonder how much Intel paid to have that included :) Jan 02 20:38:38 Mavrik, yeah i know theres no haxm Jan 02 20:38:47 thought x86 might still be a bit faster :) Jan 02 20:38:54 I think some of the images won't boot at all without Jan 02 20:39:32 atif089, anyway as I said on the other channel, try to use Genymotion. Jan 02 20:39:45 It should run well on AMD with virt extensions Jan 02 20:39:52 Mavrik: thanks. Will try that Jan 02 20:40:01 25 fps? Jan 02 20:41:02 another question Jan 02 20:41:42 just installed my SDK on a mechanical HDD. Is there a way I can move the AVD images on SSD so that I get perf benefit if any without moving everything Jan 02 20:42:06 any java helpplz ? Jan 02 20:42:11 any java help plz ? Jan 02 20:42:19 ¨Any way I can move .... without moving anything¨ <-- what ? Jan 02 20:42:49 if you want to move them to the ssd, theres no way to do it without moving them. Jan 02 20:42:51 :p Jan 02 20:42:57 duh Jan 02 20:42:59 soryy Jan 02 20:43:01 sorry* Jan 02 20:43:16 what I mean was to move just the image and not everything Jan 02 20:43:22 and still make it work Jan 02 20:44:01 you can try if symlinks work Jan 02 20:44:04 no idea if they do Jan 02 20:44:21 Alright.. Thanks for the idea :-) Jan 02 20:45:47 I actually have no idea where the sdk stores the avd images. is it the sdk folder or users home? Jan 02 20:46:32 Users home and can be overriden with an env variable Jan 02 20:46:56 at this moment its downloading them in sdk folder Jan 02 20:47:14 thats just the images, not the actual avd Jan 02 20:47:25 Ah, images. Jan 02 20:47:35 drive speed is not a bottleneck with AVD imo Jan 02 20:47:36 Yeah, images are in the sdk folder, deployed avds in user home. Jan 02 20:47:53 which means its already in SSD Jan 02 20:52:32 I'm trying to come up with idea of sample project with ndk but nothing come to mind Jan 02 20:52:43 any ideas? Jan 02 20:53:02 a portable forth decompiler Jan 02 20:53:10 lol Jan 02 20:53:55 lol indeed) Jan 02 20:54:24 decompiling.. not so. maybe json parser Jan 02 20:54:32 vigilancer, a game or something else? Jan 02 20:54:33 vigilancer, that's because there's no point for most use cases :) Jan 02 20:55:13 Mavrik: yeah, I'm trying to find one) Jan 02 20:55:42 raz86: something else) Jan 02 20:56:16 why would you like use NDK Jan 02 20:56:39 bitcoin miner maybe Jan 02 20:57:11 raz86: just to take closer look. but all those helloworlds are boring Jan 02 20:57:41 bitcoin minig is impossible with smartphone CPU Jan 02 20:57:54 raz86: useless you mean Jan 02 20:58:05 yes Jan 02 20:58:46 it will be old tired miner. but still) Jan 02 20:59:17 sure Jan 02 20:59:34 there is other mining system Jan 02 21:01:35 try to implement a 3D API ? Jan 02 21:02:32 indifferent to gamedev Jan 02 21:06:18 how can i login to a password protected website like College's website in android studio without browser or webview ? Jan 02 21:07:45 iresf, look at curl commands Jan 02 21:07:52 send the post request of the login Jan 02 21:08:23 dani joo : how ? Jan 02 21:08:46 HttepRequest object Jan 02 21:09:58 raz86 : after post request , can i interact with website and then , can i get html source and handle javascript event ? Jan 02 21:10:27 you cant execute the javascript code without browser/webview Jan 02 21:11:10 all is possible, but danijoo is right, what does this javascript do? Jan 02 21:11:36 You just need to send the right session header :) Jan 02 21:13:29 there are several javascript event in website and i have interact with them Jan 02 21:13:46 And what do those events trigger? Jan 02 21:14:41 Mavrik : they show an alert and i need to value in alert Jan 02 21:14:43 When using a RecycleView in a Fragment, your supposed to inflate the layout first then setup the recycle view first right? That's the only difference between using it in framgent and activity? Jan 02 21:15:56 gopar, you also have to inflate first in an activity Jan 02 21:16:01 danijoo : can i use selendroid client instead of browser ? Jan 02 21:16:27 isnt selendroid a testing framework? Jan 02 21:16:32 danijoo, no yeah I'm doing that too. Its just that this stupid recyclerview isn't showing anything. Jan 02 21:16:46 gopar, paste your code Jan 02 21:17:56 you are right danijoo it is a testing framework but i have written a program in java with selenium to do what i want but it does not work on android Jan 02 21:18:22 your question doesnt make sense or I understand it wrong then Jan 02 21:18:38 what has the testing framework to do with this Jan 02 21:19:50 iresf: install HttpFox for Firefox, login to site with HttpFox enabled, look what data sended recieved, make same request from code Jan 02 21:20:21 you can test if you understanding of communication is right with curl from command line Jan 02 21:20:32 of with Paw if you happen to use os x Jan 02 21:20:44 httpie also good choice Jan 02 21:21:23 charles is nice too Jan 02 21:21:32 as MITM Jan 02 21:22:45 vigilancer : can i run javascript on a website with curl command in android ? Jan 02 21:23:41 why do you need that) Jan 02 21:24:24 vigilancer : there are several javascript code on a website that work with browser is it true ? Jan 02 21:24:46 danijoo, http://pastebin.com/LDSkeVT8 and http://pastebin.com/giEs5ky3 Jan 02 21:25:27 there are also some http code) does not matter. it's all about what you sending and what receiving Jan 02 21:26:51 i want to login to website by a tool that emulate browser in CLI (GUILess ) Jan 02 21:27:20 read up about http post and get requests and how they work Jan 02 21:29:08 danijoo : i know how they work but i dont know how to interact with javascript code on a website after login to that Jan 02 21:29:37 the answer is simple: you cant Jan 02 21:29:57 but you might dont have to Jan 02 21:30:23 danijoo : is there any way ? Jan 02 21:31:09 the server doesnt care if you execute the js Jan 02 21:31:14 it only cares about what you send to it Jan 02 21:31:42 so you might be able to get the result you want without executing it if you already know what the result of the execution is Jan 02 21:32:57 gopar, cant see an issue on first glance :/ Jan 02 21:33:02 I have an LG L34C phone that is giving Unfortunately, the process com.android.systemui has stopped. Does anyone know of a way to get this to stop? The phone claims they cannot help me with the issue and it is too old for them to replace it. Also cannot afford a new phone Jan 02 21:33:17 Jorja, still the wrong channel Jan 02 21:36:14 danijoo : can i say my problem also ? Jan 02 21:37:25 danijoo: thanks for pointing charles Jan 02 21:38:53 danijoo, dam. thanks for looking though Jan 02 21:46:21 any help plz. Jan 02 21:48:29 the answer is 42 Jan 02 21:48:45 but whats the question? Jan 02 21:50:18 I try get IMEI Jan 02 21:51:39 I use both SDK & NDK Jan 02 21:51:39 I need some help for java code Jan 02 21:51:45 My code at http://stackoverflow.com/questions/34567926/calling-java-static-method-from-qt-c-not-working Jan 02 21:52:56 You have no business getting IMEI. Jan 02 21:55:44 i can login to website with Jsoup but it only can parse Html on website and it can not run a javasscript method of website is there a lib like jsoup to interact with javascript of website ? Jan 02 21:55:55 Mavrik: i don't get that, What did you try to say? Jan 02 21:56:10 iresf, how many people have to tell you that you cant run js code until you believe it? Jan 02 21:57:37 danijoo : i dont want inject js to website Jan 02 21:58:38 you _cant_ use it Jan 02 22:00:45 danijoo : i thinks i can do what i want using WebView Jan 02 22:00:50 think* Jan 02 22:01:44 I need to get any Android id But my code not working. Jan 02 22:01:50 the webview will just display it Jan 02 22:02:50 i want to do a work like this : http://stackoverflow.com/questions/9341738/how-to-automate-clicking-a-link-inside-a-webview Jan 02 22:08:10 i'm still confused. you want to click a button in a webpage inside a webview from your android code? Jan 02 22:18:01 storkme : yes Jan 02 22:19:34 http://developer.android.com/reference/android/webkit/WebChromeClient.html can't see anything here Jan 02 22:57:11 thought i would add scanning QR codes to my app, looked easy ... Jan 02 22:57:16 using GMS Jan 02 22:57:25 until i saw the camera code and barfed Jan 02 22:57:51 but yeah, once you have the bitmap its easy peasy :D Jan 02 23:16:03 g00s, just use zx Jan 02 23:16:15 And don't make your life more miserable than it has to be. Jan 02 23:16:31 hey RxJava folk - is there a way to tell an Observable to call onNext outside of its declaration? Jan 02 23:16:47 huh? Jan 02 23:18:13 Mavrik yeah zx has been around awhile - do you know why GMS started including their own, even though zx is (was?) used by android ? Jan 02 23:18:39 *shrug* Jan 02 23:18:53 I guess because Google needed it in GMS and ZX isn't an embeddable library. Jan 02 23:24:32 like, in theory, if i wanted to wrap button click events with an observable Jan 02 23:25:10 i'd have the observable obviously, but the way i am conceptualizing it is that i'd respond to my click event by giving the observable some sort of message telling it to call onNext on all its subscribers Jan 02 23:25:21 but it seems like this is probably the wrong way to think about it Jan 02 23:39:22 thats the right way Jan 02 23:39:58 but you just call observable.create and invoke onNext in subscriber passed as a parameter Jan 02 23:42:05 hello Jan 02 23:42:21 what should I set $JAVA_HOME to? Jan 02 23:44:23 the install directory of your JDK Jan 02 23:45:24 danijoo: and where is it? the java executable is at /usr/bin/java Jan 02 23:46:06 depends on your system Jan 02 23:46:12 is that the jvm? Jan 02 23:46:12 maybe /usr/java/jdk Jan 02 23:46:24 what's the name of the compiler? Jan 02 23:46:41 /usr/bin/java is a symlink Jan 02 23:46:45 check where it links to Jan 02 23:47:20 /usr/bin/java -> /etc/alternatives/java Jan 02 23:47:41 thats a symlink too :p Jan 02 23:47:46 follow the trace Jan 02 23:48:18 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-13.b17.fc23.x86_64/jre/bin/java Jan 02 23:48:45 yep Jan 02 23:48:57 "Please ensure JAVA_HOME points to JDK rather than JRE." Jan 02 23:49:05 is that not JRE? Jan 02 23:49:13 so export JAVA_HOME = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-13.b17.fc23.x86_64 Jan 02 23:49:35 the jdk is in the same folder but finishing with jdk/ Jan 02 23:52:17 still getting the same error message Jan 02 23:52:25 what error message Jan 02 23:52:52 danijoo: http://pastie.org/pastes/10666708/text Jan 02 23:53:19 dump question but did you install the jdk? Jan 02 23:53:47 danijoo: I installed openjdk, is that not what I need? Jan 02 23:54:11 should be ok Jan 02 23:54:28 what happens if you open a new terminal and enter ´echo $JAVA_HOME´ ? Jan 02 23:54:29 how can I verify my installation? Jan 02 23:54:49 also whats the output of ´ls $JAVA_HOME´ Jan 02 23:55:11 prints /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-13.b17.fc23.x86_64 Jan 02 23:55:43 danijoo: looks like "jre" is the only folder in there Jan 02 23:55:53 then you didnt install the jdk Jan 02 23:55:57 but the jre Jan 02 23:56:21 uh Jan 02 23:56:31 install the jdk via apt or yum or whatever your unix uses Jan 02 23:56:37 do you think I'll get jdk if I install openjdk-devel Jan 02 23:56:43 instead of simply openjdk Jan 02 23:56:44 no Jan 02 23:56:53 whats yur system? ubuntu? Jan 02 23:56:57 fedora Jan 02 23:58:18 is fedora using yum? Jan 02 23:58:44 ah yeah it might be devel then Jan 02 23:58:54 java-1.8.0-openjdk-devel to be concrete Jan 03 00:01:04 I still need the runtime environment, right? Jan 03 00:01:10 yes Jan 03 00:01:27 think its a dependency of the devel package anyways Jan 03 00:04:59 turns out I don't need $JAVA_HOME now, it's working properly without it Jan 03 00:05:16 i think the installation sets it ;) Jan 03 00:06:10 it didn't Jan 03 00:22:44 lolwut tommy lee stuck upside down with drumset on personal roller coaster Jan 03 00:24:15 lots of ppl here use crystax? I'm looking for ways to port a c++ 14 app to android Jan 03 00:24:49 I think most dont use c++ at all Jan 03 00:25:41 this is an app that's already developed, just a backgroudn process i'd like to get running Jan 03 00:31:27 just looking for options to make that happen Jan 03 00:44:03 how do we update google play services of an emulator ? it always says me to update google play services 8.1.5 to 8.4.0 Jan 03 00:46:13 dcz: Where is it saying to update from? Jan 03 00:46:27 in emulator Jan 03 00:46:32 when application launched Jan 03 00:46:43 how I do it: not using newest services in my app :p Jan 03 00:46:59 yeah , i cant force it, when i force it methods gone Jan 03 00:47:01 dcz not really supported , unfortunately Jan 03 00:47:24 this is one of the biggest WTFs about android dev imho Jan 03 00:47:29 the new emulator actually supports drag/drpping files into it Jan 03 00:47:45 maybe it allows to drag/drop the flashable play services zip? I should try that.. Jan 03 00:50:57 oh. seems like the new emulators are already on the newest play services Jan 03 00:51:14 http://prntscr.com/9lf9yp Jan 03 00:54:01 which one is it ? Jan 03 00:54:07 i am using nexus 5x Jan 03 00:54:18 its the beta emulator Jan 03 00:55:01 you need Android studio canary and then update the sdk to experimental stuff Jan 03 00:55:02 PlaceAutocompleteFragment , i cant use this without version 8.4 Jan 03 01:00:51 yeah i think you need to either use a real device or update to canary to be able to use that atm Jan 03 01:01:10 I dont think they will update the old emulators anymore and just switch to the new ones once they are finished Jan 03 01:34:52 danijoo from what i remember, intel created the x86 images (not google) - Jan 03 01:35:31 i remember back in 4.2 days, there was some effed up x86 image that was spamming lolcat - i submitted a bug, google guys were like meh - tell intel lol Jan 03 01:36:25 oh ok. Jan 03 01:36:49 and I guess intel was like "android? why dont you ask google?" :p Jan 03 02:10:10 What is the proper way to test sqllite operations? I get "Method getReadableDatabase in android.database.sqlite.SQLiteOpenHelper not mocked" when using MockContext. Jan 03 02:54:13 Hey Im looking for some examples on how to make a rotating scrollview in android? I mean a scrollview that restarts when reaching the end and shows first element again. Cant find anything on google. **** ENDING LOGGING AT Sun Jan 03 02:59:58 2016