**** BEGIN LOGGING AT Sat Nov 05 03:00:01 2016 Nov 05 03:10:23 lol https://plus.google.com/+CalebWillden/posts/gH87e6i9MZ5?sfc=true Nov 05 03:10:28 i like 5.0 or 6.0 the best Nov 05 03:11:59 still get "Gradle project sync failed" in both windows and linux Nov 05 03:12:02 :S Nov 05 03:19:07 any help Nov 05 03:19:26 i didi read many articles but no solutions Nov 05 03:26:11 what is the sync error Nov 05 03:26:53 im getting 'undefined reference __android_log_print' when using cmake to build with the ndk. I've tried adding log to ldLibs under android.defaultConfig.ndk, and multiple ways in my android.mk file and cant get rid of the error Nov 05 03:28:47 i wil paste log here Nov 05 03:29:39 --> http://pastebin.ca/3736366 Nov 05 03:33:34 redownload sdk, clear android studio, then reinstall and specify that sdk dir Nov 05 03:33:50 u can get a dependent sdk same place u downloaded as Nov 05 03:35:29 7.1.1 ? Nov 05 03:35:43 clear android studio? Nov 05 03:36:08 https://developer.android.com/studio/index.html#downloads Nov 05 03:36:30 get ide and sdk 24.4.1 Nov 05 03:42:50 i have ide, now downloading SDK Nov 05 03:43:01 Plattform 25 Nov 05 03:55:16 since android studio doesn't use the Android.mk file, is there a way i can specify the path to the ldlib .so files in my build.gradle? I'm getting unreferenced errors on __android_log_print that i cant seem to solve Nov 05 09:03:15 how to get text of EditText in onOptionItemSelected ( Menu menu ) Nov 05 09:03:16 ? Nov 05 09:08:01 how to get text of EditText in onOptionItemSelected( Menu menu ) ? Nov 05 09:46:49 how to get text of EditText in onOptionItemSelected ( Menu menu ) ???? Nov 05 09:53:33 hello Nov 05 09:53:47 which book or resource should I go for to learn android development Nov 05 09:53:55 app* Nov 05 09:56:01 can anyone recommend me? Nov 05 11:04:56 hi Melatonina Nov 05 11:08:06 hi Nov 05 11:08:14 hi freelancerbob Nov 05 11:08:16 how can i make this kind of app ? https://play.google.com/store/apps/details?id=com.ste.android.schnopsnfree&referrer=adjust_reftag%3DcaS3R6Z9ZZl9h%26utm_source%3Ddownload.schnopsn.com Nov 05 11:10:30 read android tutorials and learn how to make apps Nov 05 11:14:50 TheSchaf: i would like to know it some framework exist for desk card games Nov 05 12:29:06 welcome back winegoddess Nov 05 12:29:39 thanks, im only kind of here, working on another project but hope to do some android today Nov 05 13:00:14 what is the use of hasSelection() Nov 05 13:01:10 in what context Nov 05 13:05:29 returns true if a user has highlighted/selected part of the text. you can use getSelectionStart/End to get the text Nov 05 13:09:03 well, for a textview Nov 05 13:09:07 we dont know what he is talking about :P Nov 05 13:10:55 thanks Nov 05 13:11:14 true TheSchaf ... i have not seen another method of that name elsewhere? Nov 05 13:12:54 but am using isCursorVisible() to check the in which textfield my cursor is blinking as i got two fields in my app,but its returning true even if i put cursor on second textfield Nov 05 13:18:29 anyone know about it? Nov 05 13:29:00 idiots Nov 05 13:29:11 :D Nov 05 13:30:31 What did he have in his mind? Nov 05 14:35:13 hi friends :p Nov 05 14:35:17 what's up Nov 05 14:43:17 hi! can anyone tell me where the settings.gradle goes in the tree? I need to add external modules Nov 05 14:43:45 (in android studio of course) Nov 05 15:14:44 Why I am getting this error: E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1, Caused by: java.lang.AbstractMethodError: abstract method Nov 05 15:15:37 I am just trying to call an abstract method in my parent class which I implemented in its derived one. Nov 05 15:16:10 from where to know the detailed explanation of any method? Nov 05 15:20:37 fanta https://developer.android.com/reference/packages.html ? Nov 05 15:25:05 I'm trying to implement Oauth2 in my android application to connect to github. I'm using firebase and it says to first follow github's web flow to get an access token so for this part I figured I would try to use Retrofit. I am following this guide (https://futurestud.io/tutorials/oauth-2-on-android-with-retrofit) but I am a little confused and was wondering if I could get some clarification. The AccessToken class they are Nov 05 15:25:05 using, is that a standard thing across every website using OAuth? They are only using accessToken and tokenType in the example, but Github's site says it has a scope as well. Would I just need to add that to the class as well? For some reason that feels too easy haha. Also In the guide they are using only one base url. I am a little confused on how to set it up for my scenario because normally github uses api.github.com for Nov 05 15:25:06 api requests but for login it uses github.com/login/... Nov 05 15:26:46 Do I need to make two Github client classes, one for api and one for login? Also, because I am using it in an app, I don't really have a redirect url, in the example they are setting a data element in the intent filter with the host and scheme, what would go here since i'm not redirecting back to a website? Nov 05 15:28:36 It's that easy. Nov 05 15:28:40 Add scope if you need it Nov 05 15:29:01 You can replace "your" with whatever you want, and "redirecturi" with whatever you want. It doesn't have to be a website Nov 05 15:29:31 Make it specific to your app tho, e.g. appname://oauth Nov 05 15:57:33 guys, could anyone help me with this? https://www.reddit.com/r/androiddev/comments/5abupv/questions_thread_october_31_2016/d9mxxf3/ Nov 05 16:03:36 on C++ it would be something like for (int i = 0; i < alimentosFinales.length; i++) { alimentosFinales[i] = alimentos->nombreAlimentos[i].toString(); } but that "->" doesn apply on java, how can I do that? Nov 05 16:05:00 alimentosFinales[i] = alimentos.get(i).getNombreAlimento().toString(); ?? Nov 05 16:06:15 yes, that was it Nov 05 16:06:17 hehe :p Nov 05 16:07:41 Hello, What is the name of this slide/toggle/button widget seen on the right? http://www.androidpolice.com/wp-content/uploads/2015/06/img_5589b40ba6ed6-728x517.png Nov 05 16:08:26 Hi. I'm wondering if anybody who uses samsung's camera app knows how they go about creating their icons with text directly under the image? Nov 05 16:08:46 oionby, SwitchPreference or a Switch Nov 05 16:09:43 adq, thanks. Switch was the word I was looking for Nov 05 16:17:12 https://gyazo.com/f909f1d6b5005a9bf59a48653d9b1c93 does anybody know how I can create an icon like this? Is it an imagebutton with a text view, or a pure imagebutton (i.e. text is part of the image) Nov 05 16:27:37 since android studio doesn't use the Android.mk file, is there a way i can specify the path to the ldlib .so files in my build.gradle? I'm getting unreferenced errors on __android_log_print that i cant seem to solve during linking Nov 05 16:28:30 everything worked when i was using the android.mk file, but now that ive switched to cmake i can't figure out how to get it to include the logging library Nov 05 17:14:17 epop: in my CMakeLists.txt there's a line "log" under target_link_libraries. like this: https://www.dropbox.com/s/cw2t3obmxw4i0td/Screenshot%202016-11-05%2019.13.37.png?dl=0 Nov 05 17:23:02 would someone know how to get the google play games services c++ API to work with android studio and cmake? i have four different versions of the .a files: arm64-v8a, armeabi, armeabi-v7a and x86. how do i tell cmake to link to the right one of those? Nov 05 17:23:14 how to know in which textfield the cursor is blinking? Nov 05 17:24:29 abax: i have that line but it still gives the link error Nov 05 17:25:55 shashomasha: maybe set a OnFocusChangeListener to your text fields Nov 05 17:30:37 abax: would you mind posting your entire cmakelists.txt file? Nov 05 17:32:29 abax: http://pastebin.com/xLgLvBwp that's my cmake file right now that's erroring on undefined reference __android_log_print Nov 05 17:37:28 epop: you seem to have a varible called ${log-lib} i'm not sure if that works.. what if you change it to just: log Nov 05 17:37:58 abax: i added log in there as well, same error :/ Nov 05 17:38:31 what does isCursorVisible() do? Nov 05 17:40:48 Guest52389, is that from an android API? Nov 05 17:41:09 where are you finding that function? Nov 05 17:47:13 epop: the CMakeLists.txt that i use has been taken from here and modified by basically just adding more cpp files and stuff: https://github.com/googlesamples/android-ndk/blob/master/teapots/classic-teapot/src/main/cpp/CMakeLists.txt Nov 05 17:51:14 Do all phones support .xml files as drawables? Nov 05 17:51:20 epop: by the way that's a good way to get things working. just take a sample and start modifying it by adding your own code and change its name Nov 05 17:51:50 abax: i started from the one generated by android studio :/ Nov 05 17:52:15 oionby yes it is Nov 05 17:52:53 Guest52389: maybe you should read the description at https://developer.android.com/reference/android/widget/TextView.html Nov 05 17:54:29 epop: do you have the latest version of android studio and all the stuff in the sdk manager? Nov 05 17:55:17 abax: yeah, unfortunately that's where my problem started. I was on 2.1 using experimental gradle and had it using my android.mk file, upgraded to 2.2 and everything broke so I'm trying to switch to cmake and clang and can't get it to link now Nov 05 17:56:41 ok Nov 05 17:58:17 Can anyone assist with vector importing? When I import an svg, it creates a .svg and a .xml file. If I try to use it in a drawable, it only works once I remove the .svg file from the drawable Nov 05 17:58:26 from the drawable folder* Nov 05 17:58:43 Anyone able to help with this? http://stackoverflow.com/questions/40441249/changing-the-tab-indicator-colour-without-changing-the-accent-colour Nov 05 17:58:58 epop: yep, i had the same problem. i updated my android studio and everything broke.. would be kinda nice if android studio guys had heard of backwards compatibility. but how i got it working was that i just updated everything to the latest version (try uninstalling ja re-installing the whole android studio if it doesn't otherwise work) and i made a clean project from a sample and just started adding my old code back Nov 05 17:58:59 man i kind of hate android studio, every upgrade i spend more time fixing broken compiling/linking than actually coding Nov 05 17:59:28 abax: that's pretty much what I did, i started a clean project and started adding my code, but it's still not working Nov 05 17:59:28 lol Nov 05 17:59:49 glad it's not just me having these problems though, makes me feel less stupid, lol Nov 05 18:01:00 oionby, define a