**** BEGIN LOGGING AT Sat Dec 10 03:00:00 2016 Dec 10 05:31:47 anyone here ever try testing a local api with their phone on the same network? I'm having trouble with hostname resolution (using Squid) and even if I disable that and use IP address of my machine directly I keep getting 404s Dec 10 05:31:52 so I'm not sure what the deal is Dec 10 05:44:46 I'm testing a web API running it on my desktop and the android device is on the same LAN Dec 10 05:46:52 You could be calling the API method with a wrong name or wrong parameters Dec 10 05:47:08 or you could have configured routing incorrectly Dec 10 05:47:46 or you could have configured you web server (if the API is hosted in a web server) improperly Dec 10 05:48:12 is your web server logging the requests? Dec 10 13:43:50 hello to all... I have to accept the license agreement of some sdk components but dunno how to do it... Dec 10 13:43:57 I have only the sdk, no studio Dec 10 13:59:59 gain: No-one can tell you if you don't let us know what you are talking about. Which components and which sdk? Dec 10 14:08:00 Bleke: nevermind, I've found out the solution, http://stackoverflow.com/questions/40918372/android-accept-the-license-agreements-of-sdk-google-repository-android-support?noredirect=1&lq=1 Dec 10 14:11:33 Is it not possible to change the login email for a developer account? I am stuck with the original email forever? Dec 10 14:13:29 and is it not possible to close a developer account? I am fine witht h package name being blocked forever Dec 10 14:16:10 sirish: Have you seen this page? https://support.google.com/googleplay/android-developer/answer/139626?hl=en Dec 10 14:19:33 hi Dec 10 14:20:42 how can i create attractive gui for app Dec 10 14:24:01 homa_: Imo the first thing you should do is creating a good user experience. (making it intuitive) Then focus on making it look pretty. Dec 10 14:25:32 Bleke, do you know site or book about that ? Dec 10 14:26:05 Bleke: thanks but I have not set up a merchant account although i paid the 25$. I have release a free app only. I want to not use the email anymore though Dec 10 14:26:10 and i dont want 2 accounts Dec 10 14:26:35 homa_: I've heard good things about the books "Don't make me think" and "It isn't rocket surgery" Dec 10 14:28:07 sirish: It says you can transfer your apps to a new account, then request the old one to be closed. Not sure if that applies only to merchant accounts though.. Dec 10 14:30:45 homa_: Google "material design". Dec 10 14:30:59 That's the UX design du jour. Dec 10 14:31:35 everytime i see any android code, i feel like grrrrrrr Dec 10 14:31:44 why the heck its so complex Dec 10 14:31:49 thank you TacticalJoke , Bleke Dec 10 14:32:25 RajRajRaj: I spend most of my time avoiding the awful parts of the Android framework as much as possible. Dec 10 14:32:51 TacticalJoke : :( Dec 10 14:32:54 see Dec 10 14:33:02 whyyyyyyyyyyyyyyy Dec 10 14:33:24 Because much of it is badly designed. Dec 10 14:33:25 RajRajRaj: I guess the complexity comes with it trying to be flexible Dec 10 14:33:27 Not all of it, though. Dec 10 14:33:31 i wanted to learn something new, people keep suggesting me android and i hate it while i see its framework Dec 10 14:33:37 RajRajRaj: It gets easier. Dec 10 14:33:45 hmm Dec 10 14:33:49 my head hurts Dec 10 14:33:57 :`( Dec 10 14:34:03 Which part in particular do you hate? Dec 10 14:34:13 all Dec 10 14:34:32 RajRajRaj: Sre you new to programming at all? Dec 10 14:34:34 Some parts are great. Especially some of the Java-API parts. Dec 10 14:34:49 the first folder is .gradel, i open it, then another bunch of folders ugh Dec 10 14:34:56 TacticalJoke: i know Dec 10 14:35:11 Bleke: i have been c++ programmmer for 2 years Dec 10 14:35:20 i built softwares that makes difference Dec 10 14:35:26 to the world Dec 10 14:35:35 Project structure isn't too bad. Just takes getting used to. Android Studio also organises stuff nicely. Dec 10 14:35:45 i know Dec 10 14:36:07 how do i understand it quickly with concrete knowledge is the chellenge Dec 10 14:36:13 challenge* Dec 10 14:36:22 I HATE IT Dec 10 14:36:24 Yeah, it takes time. Dec 10 14:36:32 i got 3 days :( Dec 10 14:36:39 Three days to achieve what? Dec 10 14:36:52 RajRajRaj: Ok. Well, doing something you hate isn't worthwhile.. I guess it's sacrilege to say this here, but you could take a look at iOS development and see if that suits you better. :) Dec 10 14:37:01 to be capable of making any kind of app on it Dec 10 14:37:19 RajRajRaj: It takes a long time. Dec 10 14:37:27 You could make a "Hello, world" app in minutes. Dec 10 14:37:33 But for something serious you need to invest serious time. Dec 10 14:37:42 TacticalJoke: that was copy paste and it took 30 min Dec 10 14:37:45 i learnt nothing Dec 10 14:38:17 And is it possible to have different emails for an Android developer account and an app on that account? Dec 10 14:38:31 TacticalJoke: i want to investigate all 72 hours but the problem is i dont get concrete knowledge everywhere, its allways meta information Dec 10 14:39:02 Bleke: it takes a mac pro and an iphone Dec 10 14:39:02 You just have to dive in. Google and ask here if you get stuck. Dec 10 14:39:06 too expensive Dec 10 14:39:12 IMO, trying to learn Android from books isn't such a great use of time. Dec 10 14:39:21 hmm Dec 10 14:39:21 Android is so weird. Dec 10 14:39:36 RajRajRaj: What kind of app are you trying to make? Dec 10 14:39:57 Bleke: i want to enable myself to built any kind of app i want to Dec 10 14:40:18 RajRajRaj: Just make a simple app. Then make a more-complicated one. Then an even-more-complicated one. Dec 10 14:40:37 RajRajRaj: The more generic you are,the longer it will take. :) Dec 10 14:40:44 first i want to understand all those shit structure Dec 10 14:41:34 for e.g. i learned java from basics Dec 10 14:41:53 i could build a java desktop application using notepad Dec 10 14:42:05 just notepad and jdk Dec 10 14:42:20 i know it in-n-out Dec 10 14:42:23 You could build an Android app in Notepad. Dec 10 14:42:31 TacticalJoke: thats what i want Dec 10 14:42:44 You shouldn't. You should use Android Studio. Dec 10 14:42:49 every single file i write after understanding to good level Dec 10 14:42:49 Wanting that is wrong. Dec 10 14:43:21 i will ultimately use studio, as i use eclipse for java web apps Dec 10 14:43:40 but initially there should be a simple tutorial to make android app using notepad Dec 10 14:43:53 RajRajRaj: That's a complete waste of time. Dec 10 14:43:56 Use Android Studio right away. Dec 10 14:44:08 You'll learn more quickly by starting with Android Studio. Dec 10 14:45:14 ok but i want to understand each and every thing in that structure and why is it there Dec 10 14:45:18 You can ignore all the "new activity" wizards and such. Dec 10 14:45:31 RajRajRaj: Android Studio doesn't prevent that. Dec 10 14:46:25 fine, but where i can find a simple tutorial to understand it Dec 10 14:46:54 I'm not sure. I've never read a tutorial for AS. Dec 10 14:47:00 Have you tried it yet? Dec 10 14:47:18 Hey, I installed Firebase Push notifications, but I only receive the message when my app is running in the background, how can I fix it? (So the message will be received if the app is closed) Dec 10 14:47:47 i found https://developer.android.com/training/index.html to be shit, hence i gave up Dec 10 14:48:43 RajRajRaj: Oh, that tutorial isn't that good. Dec 10 14:48:55 hmm Dec 10 14:48:55 When I first came to Android, I read the first lesson and abandoned it (and just dived in). Dec 10 14:49:16 "Building Your First App". Dec 10 14:49:22 i did that Dec 10 14:50:28 If you want something more structured, maybe udacity would be good? Lots of video tutorials, so it can take a while to go through though. And most of it isn't free. Dec 10 14:50:45 oh Dec 10 14:50:47 -through Dec 10 14:51:04 um.. I'm tired :) Dec 10 14:53:01 Bleke: ios is structured and easy but i hate proprietary shit Dec 10 14:54:00 RajRajRaj: I meant structured education in android development, rather than just trial and error Dec 10 14:54:00 man i am exhausted Dec 10 14:54:25 Hey, I installed Firebase Push notifications, but I only receive the message when my app is running in the background, how can I fix it? (So the message will be received if the app is closed) Dec 10 14:54:31 Bleke: Given how quickly Android changes, I wonder how easy it is to get a structured education. Dec 10 14:54:44 I haven't tried Udacity, though. Dec 10 14:55:31 TacticalJoke: Yeah.. they do offer "fast track to google certification". Looks like a pretty professional site. Dec 10 14:57:19 if i have a game on devloepr account 1 and then publish it on developer account 2 with a different package name, this wont be a problem right? I own both accounts and it was only alpha on account 1 Dec 10 15:17:01 Jestin: Sounds like you are looking for a BroadcastReceiver. Keep in mind that I hardly know what I'm talking about. :) "The receiver tag declares an BroadcastReceiver class that is available as part of the package's application components, allowing the application to receive actions or data broadcast by other applications even if it is not currently running. " Dec 10 16:09:41 How big is the current Android source tree? (i.e. what I obtain after a repo sync) Dec 10 16:53:24 I'm interested in android development and was wondering what languages would be necessary to know and what would be useful to know. Also what other things would be necessary/useful to know Dec 10 16:53:39 java Dec 10 16:53:42 english Dec 10 16:55:17 thanks on the English bit, I was gonna use Swahili... lol jk thank you though does Java apply from kernel level up? Dec 10 16:56:28 Sorry for the noob question and "humor" Dec 10 16:57:09 r3gl17ch3d: the lowest level is probably C because Android is based on Linux so for example the Android Runtime (the java runtime environmentr used by android) is written in C Dec 10 16:58:05 Ok, thanks. And then the Java is more for app dev etc.? Dec 10 16:58:39 yes Dec 10 16:59:17 Ok I gottcha thank you Dec 10 17:04:19 I'm not 100% sure myself but I'd say that everything in APPLICATIONS and APPLICATION FRAMEWORK in https://upload.wikimedia.org/wikipedia/commons/a/af/Android-System-Architecture.svg is written in Java Dec 10 17:09:24 alright ty for the help Dec 10 17:13:13 nice quick overview Dec 10 18:32:34 what was the fancy way of writing int x = x + 1? Dec 10 18:32:39 x =+ x? Dec 10 18:32:41 i forgot :B Dec 10 18:34:40 x++? Dec 10 18:36:18 hmm Dec 10 18:38:12 anyone ever had issues with a phone which had difficulty making HTTP requests to non-standard ports? Dec 10 18:38:36 i have only one phone out of several which seems to fail to connect to a server running an app on port 5000 Dec 10 18:38:48 either via my app or simply through Chrome Dec 10 18:39:18 this behaviour is inconsistent, as the app would sometimes work.. but after subsequent development would stop working Dec 10 18:39:31 (Asus Zenfone 2) Dec 10 18:46:31 can we use gradle 3.2.1 in android studio ? Dec 10 18:46:51 i have downloaded it but i do not know where should it be locate ? Dec 10 18:56:47 hello everyone Dec 10 18:56:59 i am creating one application in android, i have added two buttons, using the IDE Android how could i click on the button and add some code, i am trying to do it , but show me label and text only Dec 10 18:57:40 how could i go code directly to add some variables when the button1 was pressed Dec 10 18:58:22 tona : you should first define and refrence a button object to object created in xml file ( activity_main.xml ) like this : Dec 10 18:59:12 yourButton.setOnClickListener(new View.OnClickListener() { onClick(View view) { your code } }); Dec 10 18:59:18 irin could you give me with one example Dec 10 18:59:45 tona : yh wait Dec 10 18:59:54 i shouwl add it into mainactivity.java Dec 10 19:00:06 hexaboxSun Dec 10 19:01:05 yourButton = (Button) findViewById(R.id.yourButtonImageId); on your java class, where yourButtonImageId references an image on the xml layout Dec 10 19:01:16 then the clickListener Dec 10 19:01:20 and that's it :p Dec 10 19:01:45 references a Button ** on your xml layout Dec 10 19:01:58 which will probably have an image Dec 10 19:02:53 how to use gradle 3.2.1 ? Dec 10 19:03:57 android studio 1.3.2 Dec 10 19:04:29 Use the version of gradle that Android Studio wants you to use Dec 10 19:04:43 Chasing the latest version without good reason is just a shortcut to suffering and pain Dec 10 19:05:39 when building project android studio or java process take high cpu that is 100% and it is my problem Dec 10 19:06:22 Would you rather it only keep the CPU at 50% utilization and take twice as long? Dec 10 19:06:44 then i upgrade it 2.2.3 Dec 10 19:06:55 no Dec 10 19:08:10 on ubuntu 16.04 building project was very fast without taking whole cpu but on ubuntu 14.04 it is very slow and weight Dec 10 19:08:12 i dont undertand not yet Dec 10 19:08:55 tona : what did not u understand ? Dec 10 19:09:19 irin: There's a whole lot of things that could be making that difference, including what other things you're running and how much RAM is actually free Dec 10 19:09:41 Without free RAM, you don't get disk caching for beans Dec 10 19:09:53 i have drag and drop buttons into my ide in android i just want to attach the event click , when i push it i run something Dec 10 19:10:08 It's also possible the newer version of ubuntu is doing something much differently with respect to disk controllers that's causing disk i/o to suck Dec 10 19:11:18 maybe Dec 10 19:11:44 Either way, don't be a gentoo user Dec 10 19:11:52 Bigger numbers are not automatically better. Dec 10 19:12:46 alright Dec 10 19:13:25 Android Studio will nag you _plenty_ about bits and pieces it wants to upgrade Dec 10 19:14:17 Let it worry about having the latest stable versions of it's tools around, and just trust that _usually_ it just gets better over time. When it gets significantly slower, it's because they found out something that they were doing before that was fast was also broken. Dec 10 19:15:07 My guess is that since you went back to a two-year-old release of Ubuntu, it's probably got some disk io issues that are causing slowness Dec 10 19:17:28 what is your idea about Debian distro about 1 year ago i installed android studio on that and it was very very fast Dec 10 19:20:42 It probably got things right Dec 10 19:29:43 where is the AndroidManifest.xml file located , i need to grant access to sms Dec 10 19:31:55 tona : these questions are fundemental and u can find it in documentation or in developer.android.com Dec 10 19:32:51 yes i know these question are fundamental so sorry i just want to know Dec 10 19:35:50 in left side in android studio Click on Project tab and will appear a panel you can find your project directory there is a directory that is called manifest extend it and will appear a xml file that is called AndroidManifest.xml Dec 10 19:36:25 thanks Dec 10 20:10:31 http://www.breitbart.com/california/2016/12/09/nsa-listens-flight-mobile-calls/ Dec 10 20:10:50 that pesky Metadata again :-/ Dec 10 20:59:50 Hi, I am trying to get my app to show up in the "Share" menu of applications which send "binary" data - for example, the camera photos. So far, I have specified an intentfilter for the service which handles URIs in the manifest file, however, the app does not show up in the share menu. Dec 10 21:00:40 This is the entry in my AndroidManifest.xml: http://pastebin.com/raw/Sv3qcVtf Dec 10 21:01:26 Do I need to make a "dummy" service to do this? Dec 10 21:01:36 s/service/activity Dec 10 21:06:27 if i have a library which makes http requests to an api (as in I don't need to make direct requests myself ie. retrofit), what would be the best solution to move the request making off the main thread and deliver it back to the activity? Dec 10 21:06:39 i was thinking an intent service + ??? Dec 10 21:06:49 im realitvely new to android dev Dec 10 21:09:08 KukOrkan: You're making the library? Dec 10 21:11:08 no, its already made Dec 10 21:11:41 What kind of request is it? A GET request that the activity is interested in? If so, I don't think using a service is the best idea. Dec 10 21:12:45 If it's a POST or something that you want to run to completion even when all activities are in the background, a service might be appropriate. Dec 10 21:15:14 It's hard to give the best recommendation without knowing the nature of this HTTP request. Dec 10 21:16:10 this is the library: https://github.com/fatsecret/fatsecret4j/blob/master/src/main/java/com/fatsecret/platform/services/Request.java Dec 10 21:16:16 id be making get requests in this case Dec 10 21:22:32 the resulting data would be displayed in a list view, dunno if that answers your question Dec 10 21:23:02 A simple solution would be to use AsyncTask. Almost everyone new to Android would do that. Dec 10 21:23:18 It's not necessarily the best solution, though. Experienced Android people might use an event bus or something. Dec 10 21:23:29 I would use neither, personally (though I have weird preferences here). Dec 10 21:25:39 KukOrkan: Do you want the best method or the simplest method? :D Dec 10 21:25:50 Then again, there are multiple 'best' methods here. Dec 10 21:26:04 well, the best Dec 10 21:26:08 or list of "the ebst" Dec 10 21:29:41 There are libraries such as RxJava, which I think a lot of people would consider one of the best approaches here. Dec 10 21:30:00 There's something called Bolt I've never tried. Dec 10 21:30:09 I guess the answer depends on whether you want to use a library here or not. Dec 10 21:32:00 what are some libraries for this then? Dec 10 21:32:08 So is annotationProcessor a replacement for apt in gradle build files? Dec 10 21:37:54 KukOrkan: RxJava, Bolt, ... Dec 10 21:38:50 Hmm, did they rename it to Bolts? Dec 10 21:39:18 seems so Dec 10 21:39:36 but ive heard a lot about rxjava/android, so ill look in to that Dec 10 21:39:38 thanks for your help Dec 10 23:01:06 hey Dec 10 23:01:20 how do i add a cert to android Dec 10 23:19:52 is there a channel for rtandroid? Dec 10 23:24:31 i finished my app :') Dec 10 23:24:36 my very first one :B Dec 10 23:38:40 grats man! Dec 10 23:57:30 thanks dsardari Dec 11 00:08:28 hexagonSun_: congratulations :) Dec 11 00:17:29 hexagonSun_: what is people congratulating about? Dec 11 00:17:43 hexagonSun_: did you make you first million? Dec 11 00:46:11 Melatonina i just finished my app Dec 11 00:46:49 cool. Published? Dec 11 00:47:19 was it the app for the Spanish university in Canada? Dec 11 00:55:32 Just curious, how many people in here use Rx in their apps? Dec 11 01:00:41 hi, is there somewhere i can ask for help with daydream VR? Dec 11 01:01:13 if maybe someone here can help me, I need an archive of all older versions of this Dec 11 01:01:15 https://github.com/googlevr/gvr-android-sdk/blob/master/apks/controller_emulator.apk Dec 11 01:01:29 https://developers.google.com/vr/concepts/controller-emulator Dec 11 01:02:13 There was an update and it would just take me way too much time to catch up, the project I have is just a prototype and I can't get it to work anymore because the newer versions have no compatibility with how the older apks work Dec 11 01:02:34 Is there some way I can see the .apk history of that file? Dec 11 01:11:06 ranbox2d: Have you tried the "history" button? Dec 11 01:14:08 Thanks Bleke, I'm going to try all of those Dec 11 01:22:32 Hmm, my up button in an activity is no longer working Dec 11 01:23:10 toolbar is set as support action bar, .setDisplayHomeAsUpEnabled is set to true, and the parent activity is correctly set in the manifest Dec 11 01:23:20 Why might it not work? Dec 11 01:24:27 yes Melatonina Dec 11 01:24:29 :p Dec 11 01:24:53 Congratulations from me too, then :) Dec 11 02:15:08 thanks :) Dec 11 02:15:49 Hi people! I am having some trouble trying to update an Asus K013 to the lastest version (OTA updates not working) I tried everything, I hope you can help me fegure this out. Dec 11 02:16:50 I sideload the update an I get this: Dec 11 02:16:51 Now send the package you want to apply Dec 11 02:16:52 to the device with "adb sideload "... Dec 11 02:16:52 userid is 2000 Dec 11 02:16:52 sideload_service invoked Dec 11 02:16:53 adbd exiting after successful sideload Dec 11 02:16:56 Finding update package... Dec 11 02:16:58 I:Update package location: /tmp/update.zip Dec 11 02:17:00 Opening update package... Dec 11 02:17:02 I:read key e=65537 hash=20 Dec 11 02:17:04 I:1 key(s) loaded from /res/keys Dec 11 02:17:06 Verifying update package... Dec 11 02:17:09 I:comment is 1579 bytes; signature 1561 bytes from end Dec 11 02:17:11 I:whole-file signature verified against key 0 for /tmp/update.zip Dec 11 02:17:13 I:verify_file returned 0 Dec 11 02:17:15 Installing update... Dec 11 02:17:17 I:Installing update /tmp/update.zip... Dec 11 02:17:20 I:Extract and run update-binary Dec 11 02:17:22 Verifying current system... Dec 11 02:17:24 Verifying boot image...Image is corrupted (bad magic) Dec 11 02:17:26 Invalid boot image Dec 11 02:17:29 script aborted: Couldn't read image boot Dec 11 02:17:31 Couldn't read image boot Dec 11 02:17:33 E:Error in /tmp/update.zip Dec 11 02:17:35 (Status 7) Dec 11 02:17:37 E: fota_return_code 409 Dec 11 02:17:39 Installation aborted. Dec 11 02:17:42 I:Saving locale "en_US" Dec 11 02:17:44 I:Saving locale "en_US" Dec 11 02:17:51 f*, sorry for that, I though I had the pastebin link on the clipboard :v Dec 11 02:18:53 here is the the link to the update file http://fota.asus.com/delta_package/eee-pad/WW_K013/formal/WW_user_3.2.23.182_20140916-user-WW_K013-WW_user_3.2.23.191_20141030-user-WW_K013-20141104/update.zip Dec 11 02:28:37 What does the "Verifying boot image...Image is corrupted (bad magic)" means? Is it talking about the boot image on the update file? Dec 11 02:28:56 Hey guys I moved my code to update listview to asynctask, and its not working properly, whenever there is new info, and I go to updatelistview, it just overwrites the first row. It never did that when I had it as a inner class, is there something I need to do in asynctask to prevent overwriting? **** ENDING LOGGING AT Sun Dec 11 03:00:00 2016