**** BEGIN LOGGING AT Mon Jul 04 02:59:58 2016 Jul 04 04:14:54 I have let the AVD run overnight and it still id not proceed beyond the andoird logo Jul 04 04:15:19 I use armebi-v7a as the cpu since I cannot use anything else without disabling hyper-v Jul 04 04:15:43 well, it takes some time : Jul 04 04:15:45 D Jul 04 04:16:06 but overnight = it wont show up Jul 04 04:16:15 you can kill it already Jul 04 04:16:24 gordon_ i disagree, these things - they can take many moons Jul 04 04:16:30 lol Jul 04 04:16:57 apple products.. it's hot and my browser launches for 30 seconds... Jul 04 04:17:01 great design Jul 04 04:21:22 gordon_ maybe you just hit a site with too much scala.js :) Jul 04 04:25:55 how does romain guy have time to play all these games Jul 04 04:28:53 Easy if you never sleep Jul 04 04:30:10 doesn't CedricBeust play a lot of games? Jul 04 04:30:37 That's not nearly as time consuming as raising twins Jul 04 04:30:54 Android games? Jul 04 04:31:10 Actually I don't play at all on my phone, all Windows Jul 04 04:31:25 MisterGadfly yeah, romain tweets games all week Jul 04 04:31:29 I played 0ad yesterday Jul 04 04:31:29 all I play is CS:GO Jul 04 04:31:31 I think either you play on phones or you play on Windows, there is no overlap Jul 04 04:31:41 I don't understand how people can play Android games Jul 04 04:31:41 They improved the AI...now I can't beat it :( Jul 04 04:31:49 Ologn: haha Jul 04 04:32:05 I play on windowa Jul 04 04:32:05 MisterGadfly: I think it's mostly time when they go to work / from work Jul 04 04:32:11 I wonder how long it would take me to make a castle defense game for Android... Jul 04 04:32:18 I doubt I could make money on it Jul 04 04:32:23 windows, although, I play a little on my phone since I bought ffix Jul 04 04:32:33 Ologn: depends how you want to do it Jul 04 04:32:43 here in Japan unity is widely used :P Jul 04 04:32:44 gordon_: even then. I would rather read stuff. Jul 04 04:32:56 Same, all I do on my phone is read stuff Jul 04 04:33:06 I wouldn't use Unity...so it would take me longer I guess Jul 04 04:33:11 I read and watch movies from conferences ;) Jul 04 04:33:25 Ologn: well, it would take longer then Jul 04 04:34:18 I know cocos2d is also quite popular Jul 04 04:34:39 but if you wanna just code - libgdx is quite nice Jul 04 04:34:50 I only play 1 game on windows Jul 04 04:35:03 what do you play ? Jul 04 04:36:13 league Jul 04 04:36:31 ah Jul 04 04:36:36 not my type of game Jul 04 04:36:52 i play whack-a-mole. its built into AS Jul 04 04:37:16 Whoever thinks they don't have enough time to play games obviously is not using Gradle enough Jul 04 04:37:54 my gradle builds are fast, i think the problem is the annotation processors and the dexing steps Jul 04 04:38:51 let me put it this way, if i can get ~5sec build times on a core 2 duo with 4G ram, anybody can Jul 04 04:39:03 of course, this is not the first build Jul 04 04:39:08 which always takes forever Jul 04 04:39:19 forever = 2-3 minutes Jul 04 04:39:41 I usually start my Gradle build and then go raiding with my guild Jul 04 04:39:49 People must really love this app Jul 04 04:39:50 https://play.google.com/store/apps/details?id=es.com.wallpaperhd Jul 04 04:39:57 i'm wondering if the data binding stuff will slow my builds down, because i really like ~5 sec Jul 04 04:39:59 It comes out in April Jul 04 04:40:35 3728 5 star reviews, and 75 reviews with a 1-4 star rating Jul 04 04:41:19 https://play.google.com/store/apps/details?id=fr.x_studios.x_laser_2 Jul 04 04:41:21 lol Jul 04 04:41:34 Guys, IT SHOOTS LAZERS FROM YOUR PHONE! Jul 04 04:42:13 Ologn sounds legit :) Jul 04 04:42:31 I still play Tribes 1 and Descent II Jul 04 04:42:50 " @CedricBeust | Whoever thinks they don't have enough time to play games obviously is not using Gradle enough" - words of truth Jul 04 04:42:58 Can I get an app that shoots plasma from my phone? Jul 04 04:43:07 g00s, I was looking today about doing graphviz for Android but I don't think it has a mass audience so it's not worth it for me at this moment Jul 04 04:43:25 MisterGadfly: put phone into microwave Jul 04 04:43:59 Ologn hm yeah, those graphviz apps are really old as s%$t C proggies Jul 04 04:44:17 gordon_: you know, this has potential. Make an app that has flashy plasma stuff for screenshots and inside it it's a guide to put the phone in a microwave and turn it on. Jul 04 04:44:25 Ologn but how would it work, don't think anyone is going to write a dotty file on their phone Jul 04 04:45:27 g00s, I guess I would have had to have thought about that...phase one would have been to get graphviz lib implemented, then convert dot files to png's and such, then go from there Jul 04 04:45:33 MisterGadfly: there was some issue with apple users when they've heard about 'wave' feature Jul 04 04:45:56 Ologn the tools convert dot to png Jul 04 04:47:07 there was some god awful GUI thing but it was impossible to use Jul 04 04:47:26 Actually the Android framework has some graphviz stuff Jul 04 04:47:32 most of the time i used dot was i programatically generated a huge file for visualization Jul 04 04:48:23 a gui for graphviz customization (colors, shapes, cluster UI, etc) would be nice Jul 04 04:48:49 https://github.com/android/platform_frameworks_base/blob/master/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/GraphExporter.java Jul 04 04:48:51 but not really for generating a dotty file (would defeat the purpose almost) Jul 04 04:49:41 I think the last time I generated a dot with a program was some GNOME compiling chart Jul 04 04:50:52 two latest times i used it was, 1) for fun and generating a huge dependency graph, 2) for work to have a strong fsm on pkcs11 Jul 04 04:51:03 Little known fact: TestNG has supported dotty for years https://github.com/cbeust/testng/blob/master/src/main/java/org/testng/internal/DynamicGraph.java#L183 Jul 04 04:51:13 Was super convenient to debug graphs of test methods Jul 04 04:51:44 yeah, great for visualizing call graphs, dependencies, etc Jul 04 04:51:56 yup Jul 04 04:52:27 cool Jul 04 04:54:51 so I have two computers Jul 04 04:54:59 one without visual studio and one with visual studio Jul 04 04:55:08 Was convenient to generate the graphs for this article: http://beust.com/weblog/2009/11/28/hard-core-multicore-with-testng/ Jul 04 04:55:21 the one without has the earliler version of the emulator, and that seemingly runs Jul 04 04:55:30 where as the one with visual studio fails to run Jul 04 04:55:51 I am quite confuse why it gets stuck in android logo Jul 04 04:56:23 ToAruShiroiNeko: tried creating a new AVD for it? i get that problem sometimes too. not sure what causes them to no longer boot Jul 04 04:56:23 ToAruShiroiNeko, it's because of hyper-v on the one "with VS" Jul 04 04:56:45 they both have hyper-v Jul 04 04:56:46 visual studio will probably enable hyper-v for its stuff (and also the android visual studio emulator, which is not bad at all by the way) Jul 04 04:56:55 in fact the non vs one required me to enable hypervisor Jul 04 04:57:00 I use hyper-v Jul 04 04:57:01 and only hyper-v would prevents it Jul 04 04:57:35 teadrop_ I crerated many AVDs yesterday Jul 04 04:57:36 ToAruShiroiNeko, are you sure you don't mix up vt-x vt-d (classic cpu virtu) and hyper-v from MS which steals the flag Jul 04 04:57:38 ? Jul 04 04:57:39 delete recreate etc Jul 04 04:58:04 I only have hyper-v and virtual box on this machine Jul 04 04:58:07 Ologn did you see this http://android-developers.blogspot.com/2016/06/android-changes-for-ndk-developers.html Jul 04 04:58:08 virtual box is disabled Jul 04 04:59:13 g00s, yes I saw that ... I haven't gone through everything to see if I'm compliant Jul 04 04:59:38 ok, just making sure you saw it - knowing you do a lot of native stuff Jul 04 04:59:40 ToAruShiroiNeko: you have experienced... microsoft quality :P Jul 04 04:59:40 teasp00n what cpu do you use? Jul 04 05:00:05 gordon_ this is clearly a bug and I have bigger issues with so many things right now Jul 04 05:00:56 intel provides a tool to know if you support virtu, and will not report it if hyper-v is still enable Jul 04 05:01:08 (assuming your cpu is supporting it, ofc) Jul 04 05:01:21 I thought the two was incompatible Jul 04 05:01:33 well, it's not really incompatibility Jul 04 05:01:41 intel haxm you mean? Jul 04 05:01:41 just hyper-v enable steals the flag Jul 04 05:01:55 haxm & virtualbox won't work properly with hyper-v Jul 04 05:02:06 ToAruShiroiNeko: intel i7. not sure exactly which one. this is a 2015 macbook pro though Jul 04 05:02:12 anywa, nuf' said Jul 04 05:02:14 not using virtual box Jul 04 05:02:24 ToAruShiroiNeko: mid 2014 version sorry Jul 04 05:02:27 the only reason thats installed is because I was using gennymotion Jul 04 05:02:51 teasp00n no I mean for the android virtualization Jul 04 05:03:03 -_-" Jul 04 05:03:33 I want to be able to use both hyper-v and android virtualization Jul 04 05:03:37 since I need both Jul 04 05:03:48 it would be a waste to buy a computer just to simulate android Jul 04 05:06:03 why do you need hyper-v ? Jul 04 05:06:21 ToAruShiroiNeko: oh right? you mean the system image? the intel atom ones Jul 04 05:07:17 teadrop_ the one marked CPU/ABI: Jul 04 05:09:24 ToAruShiroiNeko: yeah thats what i said. the system image is the x86_64 intel atom image Jul 04 05:10:54 I cant seem to install hamx Jul 04 05:11:28 because its there Jul 04 05:11:39 I have hamx 1.1 something when the latest is version 6 Jul 04 05:12:41 so I am forced to use arm Jul 04 05:14:00 I cant run android emulation on both computers Jul 04 05:14:04 simply stunning Jul 04 05:20:46 ToAruShiroiNeko: what is your OS and processor? Jul 04 05:31:46 I cant even run Android x86 with hyper v wtf Jul 04 05:32:02 "failed to find cpu0 device node" Jul 04 05:33:22 R.id.buttonChoice1 <—— what is it? Jul 04 05:33:42 i don’t know what is R.id.#W#AFAESD? Jul 04 05:35:22 ToAruShiroiNeko: can't help if you don't provide more info... Jul 04 05:36:09 develCuy: then help me plz Jul 04 05:36:31 battery: what is your issue Jul 04 05:36:43 R.id.buttonChoice1 <—— what is it? Jul 04 05:37:47 can't help without context Jul 04 05:38:13 buttonObjectChoice2.setText("" + view.getId()); <—— why this have error? Jul 04 05:39:26 battery: please pastebin the full error output Jul 04 05:39:38 I want to provide more info Jul 04 05:39:46 :| Jul 04 05:39:46 but what is it that you are looking for? Jul 04 05:39:58 I just load the iso and cant get andoird to work Jul 04 05:40:14 pasebin is a free website for pasting text, so you can share it without flooding IRC Jul 04 05:40:22 ISO? Jul 04 05:40:31 what is your operating system? Jul 04 05:41:54 Hello, community. Jul 04 05:43:37 I require engineers specializing in Android Wear? Jul 04 05:44:23 AndraDev: this is the wrong place for recruting, which is explicitly prohibited, please read the Topic and welcome message Jul 04 05:45:33 develCuy I run windows Jul 04 05:45:41 develCuy: I'm not recruiting, I have a question and testify someone specialized, please do not confuse. Jul 04 05:45:47 iso is this: http://www.android-x86.org/ Jul 04 05:46:26 AndraDev: then use netiquet Roger Jul 04 05:46:40 we provide free support here Jul 04 05:46:55 develCuy: a bit of leeway for an obvious non-native speaker... Jul 04 05:47:00 if you have pre-requisites go ask for paid support in upwork Jul 04 05:47:02 I am trying to install it on hyper v Jul 04 05:47:55 AndraDev: there is very little Wear discussion here Jul 04 05:48:09 ToAruShiroiNeko: you can waste your time trying on windows, or install linux and get things working :) Jul 04 05:48:35 Linuxmint, Ubuntu and Fedora work pretty well with Android stuff Jul 04 05:50:02 develCuy: Where is the channel support for android wear? Jul 04 05:50:29 idk Jul 04 05:50:57 develCuy: idk? Jul 04 05:51:53 develCuy I am formatting my drive and deleting all my information then Jul 04 05:52:08 #android-idk Jul 04 05:52:13 once I get linux running I will create a virtual machine running windows and in that activate hyper-v Jul 04 05:52:20 since I explicitly need hyper-v Jul 04 05:52:48 I already have a broken screen and am frustrated beyond what words can describe :( Jul 04 05:53:18 AndraDev: idk stands for "I don't know" Jul 04 05:53:45 I am tempted to register that channel Jul 04 05:53:51 I remember 8 years ago I was trying to get support in english and got kicked, because my english was terrible... Jul 04 05:54:25 AndraDev: you clearly need to improve your english, sorry we can't help much :( Jul 04 05:54:40 nearly 500 engineers, a channel of Android developers? Anyone know anything about Android Wear? Jul 04 05:55:00 ToAruShiroiNeko: why do you need hyper-v ? Jul 04 05:55:21 Please just ask a question if you have one. If someone is online who knows the answer, they might help. Otherwise try again later Jul 04 05:55:44 352* Jul 04 05:55:52 develCuy why wouldnt I? Jul 04 05:56:04 ToAruShiroiNeko, i already told you earlier what is your issue, hyper-v will prevent haxm to work properly Jul 04 05:56:10 SimonVT: ok Jul 04 05:56:28 adq: didn't knew it Jul 04 05:56:32 i cannot believe you're still here complaining Jul 04 05:56:47 ToAruShiroiNeko: you got the answer, hyper-v is not for friend so get rid of it Jul 04 05:56:59 he doesn't want, he said he needs it.. Jul 04 05:57:08 it's mutually exclusive Jul 04 05:57:29 adq and I am running android as an iso now in hyper-v without using any emukation beyond hyper-v itself Jul 04 05:57:37 why the heck does he needs hyper-v it he question... Jul 04 05:57:39 because it's not an x86 iso Jul 04 05:57:50 so you don't have the requirements of haxm for virtu Jul 04 05:57:58 since there is nothing to virtualize... on arm iso for example Jul 04 05:58:00 but the file itself is named x86 Jul 04 05:58:07 so go buy another computer? or at least another processor? Jul 04 05:58:09 then it doesn't use haxm Jul 04 05:58:11 the entire project is named x86 Jul 04 05:58:16 anyway Jul 04 05:58:18 of course it doesnt Jul 04 05:58:45 ToAruShiroiNeko: can you answer why you need hyper-v? Jul 04 05:58:57 I have a project in beta, it is an Android application, the current developer I program in Java, but have difficulty manipulating the user interface, in addition, the app is aimed at Smartwatch devices, the goal is that the problem my programmer does not feel able to adapt the beta version for Android Wear. Jul 04 05:59:31 develCuy I develop code I need to test on various oses Jul 04 05:59:35 AndraDev: seriously man please read this before asking questions: http://www.catb.org/~esr/faqs/smart-questions.html Jul 04 05:59:41 it saves me time Jul 04 05:59:55 I broke my phone screen and need a temporary virtual android phone Jul 04 06:00:06 but alas I cannot get it to work on any compute Jul 04 06:01:09 You know the context of the problem: The question is: What tool can I use to recompile the current apk, and make it run on Android Wear easily? Jul 04 06:01:11 I would try with linux and kvm Jul 04 06:02:41 ^ for ToAruShiroiNeko ^ Jul 04 06:02:46 AndraDev, none if you sideload the apk and if the apk does not use API not available on wear side, otherwise you have to build a specific module for wear and gradle stuff for deployment, start here: https://developer.android.com/wear/index.html Jul 04 06:03:30 Tool that can be used? For the programmer does not miss time reading about how to ask questions intelligently. Jul 04 06:04:09 -__- "programer" must learn to read, and to search and to solve his own problems Jul 04 06:04:38 did anyone request spoonfeeding? Jul 04 06:04:50 it's a constant flux Jul 04 06:05:14 i still don't understand how they end-up asking on irc before searching (and probably finding an answer in stackoverflow or somewhere else) Jul 04 06:05:20 that's my niche Jul 04 06:05:39 lol Jul 04 06:05:52 anyway, what's up? Jul 04 06:06:02 what have I missed? Jul 04 06:06:25 the week-end just ended-up Jul 04 06:06:39 not here, we start the week on sunday Jul 04 06:06:53 adq: because they can't even ask google smartly... Jul 04 06:07:34 develCuy, i suspect they don't even have the will (and sometimes endurance) to search, and yes next node is making a query to have decent result Jul 04 06:08:13 if you imagine this path like a probability tree, the leaf is far away with a low proba Jul 04 06:08:48 adq: The reason I'm here is because hacerca wondering how to make my application platform without resorting to high cost, I found a service called "http://www.openmobileww.com/" which can deploy my application on all operating systems main. The problem, they keep 70% of revenues, and taking into account that some app markets like Google Play, charg Jul 04 06:08:49 e 30%, then that will stay in my printed ?. I'm here to get an alternative and inexpensive solution for my application, multi-device and multi-platform. Jul 04 06:08:57 US is in Holydays and hey have few of them so don't expect many people active Jul 04 06:09:03 I think some people find it easier to ask here than to formalize a google search Jul 04 06:09:49 AndraDev: how about hiring another developer? that will still be cheaper Jul 04 06:10:04 "cheap, fast, good" pick only 2 Jul 04 06:10:20 the good ol' triangle of choices Jul 04 06:12:33 Do not underestimate human intelligence, google gives you 1 million search results, a human three answers and three results. Jul 04 06:12:59 AndraDev: a well formed question will give you 98% good answers Jul 04 06:13:10 in my experience Jul 04 06:13:20 and also, it lets you understand the question Jul 04 06:13:43 yeah, an adage says: carefully explain your problem is half the solution Jul 04 06:13:49 you have no idea how many hours are wasted by professionals trying to understand what the hell people are asking them to do Jul 04 06:14:42 A human being can give me answer to a problem unsolved, google will respond to already solved problems. Jul 04 06:16:16 =) Jul 04 06:16:37 To know the answer dont ask the question. Provide wrong answer. Jul 04 06:17:05 ^ art of deception Jul 04 06:20:42 I did not come to ask questions, I came to look for solutions, I think I will leave with more questions and without solution. Jul 04 06:23:17 also its monday Jul 04 06:23:48 Is there a way I can use adb to create a backup with dd and save it to my local pc hard drive without creating the dd image on a temp directory on the sdcard? Jul 04 06:24:00 dd? Jul 04 06:24:55 something like adb shell su dd if=/ of="adb pull /home/user/backup" Jul 04 06:24:56 seanrdev: you could try to compile dd, deploy it to your device (rooted) and grab the output over ssh Jul 04 06:25:36 My App. + Programmer Specialist. + Android Wear. + ???? +. Google Play. = My app running on Android Wear and. Objective "Innovate how to visualize and measure the time in the world through Universal Simbolico Clock and offer it on various platforms and devices. Keep it simple stupid. Jul 04 06:29:12 develCuy: lol... I guess that's my only option? Jul 04 06:30:00 you want to run dd so guess that is it... the question is why, since you can simply create an image Jul 04 06:30:42 ask #android-root seanrdev Jul 04 06:31:59 Thanks adq Jul 04 06:33:42 hmm you could adb shell dd if=... it should output to stdout Jul 04 06:33:54 then in pc obtain the stdout and do whatever you want with it Jul 04 06:37:06 gah i hate when i alt enter the wrong import and dont notice until its to late Jul 04 06:41:34 can't believe dd comes bundled in android Jul 04 06:47:32 dd? Jul 04 06:47:35 Ashiren: hi Jul 04 06:49:09 develCuy: you mean the vim plugin? Jul 04 06:49:27 oh, nm you mean the program on the device Jul 04 06:50:44 yes Jul 04 06:53:42 Could someone please tell me what this is about -> Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException` Jul 04 06:54:55 cart_man: M permissions Jul 04 06:54:58 sdk 23 Jul 04 06:55:48 omg ... OK where do I start? Jul 04 06:57:45 https://developer.android.com/training/permissions/requesting.html Jul 04 06:58:35 how long it takes time for learning android? Jul 04 06:58:56 battery depends on what you want to do Jul 04 06:59:08 i want to make game app Jul 04 06:59:22 like samurai vs zombie 2 Jul 04 06:59:32 Ikkyo: Jul 04 07:00:17 Depends if you have previous programming experience Jul 04 07:00:32 Never Jul 04 07:00:36 how can i do? Jul 04 07:00:58 Well the best way would be to go watch some youtube videos of programming in general Jul 04 07:01:06 Learning Java would be a good place to start Jul 04 07:01:24 Otherwise, if you jump right into Android you will probably just feel overwhelmed and quit Jul 04 07:01:27 battery: d.android.com/training Jul 04 07:01:48 :| quit Jul 04 07:02:41 if i learn android, then i can earn much money Jul 04 07:04:25 Ashiren: Sorry for the late response. Thanks I'll try that right now and see if I could make that work! Jul 04 07:05:49 battery: Don't do things for the money, do them because you want to do them :P Jul 04 07:07:52 but i need money Jul 04 07:07:53 Ikkyo: that won't pay the bills :P Jul 04 07:07:57 Ikkyo: Jul 04 07:08:50 MisterGadfly: True, but you get the idea :P There is more than one way to make money Jul 04 07:09:58 java vs c++, which is more difficult? Jul 04 07:10:49 c++ is more difficult. Jul 04 07:10:55 :| Jul 04 07:11:01 why? yawkat ? Jul 04 07:11:03 Hi all, does somebody know a tool for sharing translations? Jul 04 07:11:18 because you can shoot yourself in the foot more in c++. Jul 04 07:11:56 You'll probably find more jobs with Java Jul 04 07:11:58 i can make android app with c++? Jul 04 07:12:10 FrancescoV: there are only shitty services Jul 04 07:12:15 You can even... *gulp* make web applications in Java Jul 04 07:12:19 FrancescoV, https://crowdin.com/ Jul 04 07:12:57 and a free tool? :p Jul 04 07:13:52 FrancescoV: you can do what whatsapp does Jul 04 07:14:31 FrancescoV, it's free for "Free Open Source and Academic Licenses" Jul 04 07:15:18 adq: ok tnx, i'll check it out Jul 04 07:15:24 thepoosh: what do you mean with that? Jul 04 07:15:50 whatshttps://translate.whatsapp.com/ Jul 04 07:15:52 https://translate.whatsapp.com/ Jul 04 07:15:54 sorry Jul 04 07:17:58 how can you use that as a translation tool? :p Jul 04 07:18:54 step 1: get millions of users Jul 04 07:19:04 step 2: make them translate the app with a rating system Jul 04 07:19:16 reddit does the same, using crowdin Jul 04 07:19:17 step 3: rejoice and sell your company for 16B Jul 04 07:19:44 step 4: cut a hole in the box Jul 04 07:21:08 It's critical that you dangle a carrot in front of them Jul 04 07:21:46 a "translator" badge on their profile Jul 04 07:25:07 hmm, I think that wont work right now ;) but thanks for the tip Jul 04 07:29:36 Any chance of me finding a log of a previous session on here from a week or so back? Jul 04 07:31:31 lukeallison: what are you looking for? Jul 04 07:31:35 I might have it Jul 04 07:32:40 I asked for some advice about how to show/ hide a toolbar and tablayout initialized in MainActivity from fragments. Jul 04 07:32:57 If you could search by nick you'll easily find it as I don't spend much time here. Jul 04 07:33:46 search for "immersive mode" Jul 04 07:33:58 * thepoosh is searching Jul 04 07:34:20 i meant that for lukeallison Jul 04 07:35:29 lukeallison: http://pastebin.com/jbHGd3Nh Jul 04 07:35:30 this? Jul 04 07:35:46 if not, I have 4 more log files with your nick Jul 04 07:36:16 That is exactly what I need. Jul 04 07:36:22 cool Jul 04 07:36:27 Thank you loads for that! Jul 04 07:39:10 @thepoosh can you please give me the log prior to that? Jul 04 07:39:35 within the hour prior to that message Jul 04 07:40:41 As I can align the buttons horizontally from the bars own android? http://prntscr.com/boj8o5 Jul 04 07:40:59 Capture http://prntscr.com/boj8o5 Jul 04 07:42:29 Does anyone know any good resources on Retrofit 2.0 error handling? (ex. no internet, flight mode etc.) Jul 04 07:42:37 Most of the ones I can find are outdated Jul 04 07:44:05 lukeallison: nah, my logs are only from when I'm here Jul 04 07:44:11 ask one of the constants Jul 04 07:44:14 They must be as follows: http://prntscr.com/boja42 Jul 04 07:44:52 Ikkyo: start here: https://github.com/square/retrofit Jul 04 07:45:37 thepoosh: I did, the conclussion I arrived at was that it is not possible to easily handle the errors without writing some custom middleware for okhttp Jul 04 07:45:52 Is there a simpler way. or is that the way to go? Jul 04 07:46:16 https://futurestud.io/blog/retrofit-2-simple-error-handling Jul 04 07:47:26 thepoosh: This is great, thanks Jul 04 07:48:17 Ah Ok. Jul 04 07:48:25 all i did was google for "retrofit 2 error handling" Jul 04 07:50:30 thepoosh: So did I, that article was on the second page for some reason Jul 04 07:50:43 it's the pr0n Jul 04 07:50:49 messed up your results Jul 04 07:51:02 thepoosh: Shhh, no one needs to know :D Jul 04 08:11:39 hi Jul 04 08:11:50 any galaxy s5 users here? Jul 04 08:12:05 are making a survey? Jul 04 08:12:37 i have an issue you see, i installed cyanogenmod 13 and would like to change the menu button back into a menu button instead of the recent apps menu Jul 04 08:12:47 bewbies: wrong channel Jul 04 08:13:04 which channel should i ask in Jul 04 08:13:09 not this one Jul 04 08:13:20 that being said Jul 04 08:13:22 which one Jul 04 08:13:35 dunno, this is a channel for android devs Jul 04 08:13:47 precisely why i am asking here Jul 04 08:14:03 so if you know a better place do tell Jul 04 08:14:07 again, not the right place to be looking at, try /list Jul 04 08:15:08 bewbies: #android or #android-root? Jul 04 08:15:08 well that didnt help Jul 04 08:15:14 im rooted Jul 04 08:20:24 read the topic Jul 04 08:27:27 Hi guys, does anyone know any resources to get started with NDK development (something like a helloworld from scratch). I've found some tutorials online but they seem outdated and targeted for an old IDE Jul 04 08:28:25 even the official https://developer.android.com/ndk/guides/setup.html is outdated Jul 04 08:29:28 well i just updated my hello world ndk project Jul 04 08:29:40 for AS 2.1 Jul 04 08:30:17 https://github.com/jdermont/NdkExample Jul 04 08:31:07 I'll check it out, thanks! Jul 04 08:45:54 Hello, i want to know how to reuse the 'presenter' of Android MVP. Jul 04 08:49:16 not sure you really want that Jul 04 08:52:50 I have an android project that code with MVP architecture that google implemented(Links: https://github.com/googlesamples/android-architecture/tree/todo-mvp/). The problem is i want to reuse the presenter from module a to module b. Jul 04 08:53:03 thepoosh: :) Jul 04 08:56:26 some function was implemented in a presenter, and i make the presenter extendable, so that other presenters can reuse this extendable presenter. Jul 04 08:57:43 But it seems that not easily to code. Jul 04 09:00:27 I actually never messed around with MVP Jul 04 09:00:38 but I can give you all the MVC knowledge you need Jul 04 09:02:48 * gordon_ uses MVP Jul 04 09:03:10 Well, thanks. My problem is reuse MVP witch bound with Android. I already have the MVC knowledge. Jul 04 09:08:31 cnbleu: what does the Presenter do? Jul 04 09:10:40 my presenter called from my view layer and the presenter call service module and return the result to my view layer or viewmodule Jul 04 09:11:35 my project also include databinding Jul 04 09:12:14 once again, theoretically Jul 04 09:12:19 what does the presenter do? Jul 04 09:12:58 what do you recommend the easiest way of recovering/storing app private data? As in avoid having it lost when user uninstalls it or changes phones? Jul 04 09:13:13 i currently don't have any server/cloud service to support this Jul 04 09:14:12 so you cannot do this Jul 04 09:14:15 wait Jul 04 09:14:18 thepoosh: my description has problems? Jul 04 09:14:23 I think firebase has something for that Jul 04 09:14:33 cnbleu: I don't know MVP I want to learn Jul 04 09:14:51 and I think that from what I know you didn't design your presenter layer correctly Jul 04 09:15:31 sylon: https://firebase.google.com/docs/storage/ Jul 04 09:15:36 well, let me hava a think Jul 04 09:16:00 cnbleu: presenter should not contain any android class Jul 04 09:16:56 my presenter contains android class :( Jul 04 09:17:04 gordon_: Jul 04 09:17:33 so you're doing it wrong :) Jul 04 09:22:07 gordon_: thepoosh: well, i just check the wikipedia(https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93presenter), it says that "The presenter acts upon the model and the view. It retrieves data from repositories (the model), and formats it for display in the view." In my project, my presenters do the some things. So, i don't know where goes wrong. Jul 04 09:22:55 basically IIRC, the presenter only calls methods from the Model or View depending on what happened on the other one Jul 04 09:23:04 meaning Presenter is a type of Controller Jul 04 09:23:15 and MVP is a subset of MVC Jul 04 09:23:31 Hello, Im trying to style the text of a button using Html.fromHTML, there's no color highlight at all, any idea what am I missing? middleButton.setText(Html.fromHtml("abc aaa")); Jul 04 09:23:34 my presenter pull data from model, and push the data to the view. Is this right? Jul 04 09:24:59 if i want to learn opengl es, should i start practicing with libraries first or learn the linear algebra math stuff Jul 04 09:26:11 aviran: not everything works in Html.fromHtml Jul 04 09:26:28 cnbleu: the presenter calls methods of one from the other Jul 04 09:26:34 thepoosh: yes, but font color works fine on TextView Jul 04 09:26:41 meaning it's an abstraction layer between them Jul 04 09:26:50 aviran: but not in the html sense Jul 04 09:27:51 cnbleu: does your presenter call something that is not generic? Jul 04 09:27:56 if so, you're doing it wrong Jul 04 09:27:59 thepoosh: do you know that for a fact? the does not work on Button specifically ? Jul 04 09:28:04 it should only call interface methods Jul 04 09:28:10 that should be as generic as possible Jul 04 09:28:21 no Jul 04 09:29:01 that means: presenter only call methods from model or view? Jul 04 09:29:35 yesir Jul 04 09:29:40 or even better Jul 04 09:29:51 it only calls methods from a given interface Jul 04 09:29:58 interface(s) Jul 04 09:30:04 yeah, i get you. Jul 04 09:30:12 cool Jul 04 09:33:07 ok, in Lollipop spannable content is discareded when a button has android:textAllCaps enabled, settting it to false solved the issue Jul 04 09:35:38 thepoosh: i just hava a think agin about mvp. thanks for your help. Jul 04 09:35:50 :) Jul 04 10:03:08 brew search opencv Jul 04 10:04:01 how awkward Jul 04 10:04:13 I am planning to use android studio on my ubuntu, and i got 2 gb of RAM and Core i3, is it at least can run ? Jul 04 10:04:24 i tried on windows and it got me frustrated Jul 04 10:04:45 2GB is really not enough to run AS Jul 04 10:04:56 LeedsHK, ikr Jul 04 10:05:15 so not enough at any studio at all? Jul 04 10:05:37 just waiting till i add more RAM Jul 04 10:05:52 well you can run it but it'll probably end up paging pretty hard Jul 04 10:06:26 teasp00n, dont think to do it anyway. i got bad feeling about it. too much hope than reality Jul 04 10:16:15 craptalk: vim and gradle for you, sonny Jul 04 10:29:21 LeedsHK: reminds me of this https://pbs.twimg.com/media/Bhfbnn3CMAA93mg.png:large Jul 04 10:29:53 Is SnackBar on SDK23 and over? Jul 04 10:29:58 quite right Jul 04 10:31:10 FML Jul 04 10:33:10 lol Jul 04 10:34:51 cart_man: isn't it in support library Jul 04 10:35:11 sylon: No idea...first time Im trying to use it Jul 04 10:35:21 yeah it is Jul 04 10:35:31 my app is using it and i am supporting kitkat and up Jul 04 10:35:37 pretty sure you can go much further back Jul 04 10:35:58 its in support library Jul 04 10:36:27 sylon: Hmm have an example maybe? Jul 04 10:37:52 NVM just got it Jul 04 10:37:59 yeah there's not much to it Jul 04 10:38:13 Snackbar.Make(yourView, "Some text", Snackbar.LengthLong).Show(); Jul 04 10:39:18 very similar to a toast Jul 04 10:51:17 has anyone used jdbi + sqldroid before? are there issues? Jul 04 11:12:25 I am finding my caught exceptions are being logged into Logcat Jul 04 11:12:27 is this normal? Jul 04 11:12:31 Why does breakpoints doesn't get hit by debugger just in one class (a fragment) ? Jul 04 11:15:10 sylon: are you logging them? Jul 04 11:15:18 or using a 3rd party lib for them? Jul 04 11:15:29 or are they thrown in a 3rd party lib? Jul 04 11:15:31 Are 20 characters variables a sign that I'm doing something wrong? Jul 04 11:15:46 thepoosh: well i am not logging it but i guess they are thrown in a 3rd party lib that i am catching Jul 04 11:16:26 MisterGadfly: not necessarily. Jul 04 11:16:28 MisterGadfly: naming variables and method names is what takes most of the time Jul 04 11:16:44 thepoosh: damn right Jul 04 11:20:21 thepoosh: http://i.imgur.com/ver3VZO.png << i love thos events (: Jul 04 11:21:08 since google is deprecating admob ads sdk 6.4.1 in september, I guess there's no way anymore to show ads on Android 2.2 (Froyo)? the latest Play Services version that supports Froyo doesn't have ads Jul 04 11:21:53 0.1% altcp /: Jul 04 11:22:20 raoul11: I remember when 11% of our users were from Saudia Jul 04 11:22:31 much more if you count for the fact that the alternative apps don't support 2.2 Jul 04 11:22:33 a couple of years ago Jul 04 11:22:44 i got a few saudis, qatarians etc Jul 04 11:23:03 11% for 10mil+ mil downloads is a lot Jul 04 11:23:22 if (ActivityCompat.shouldShowRequestPermissionRationale(this,Manifest.permission.CAMERA)) ALWAYS gives me Denied status ... Even if I remove the app and reInstall it? How do I ask again? Jul 04 11:23:30 raoul11: nah, I'm talking about 2 years ago Jul 04 11:24:31 most of my users are from india Jul 04 11:25:35 thepoosh: thought I was the only one who noticed that there are a lot of probably rich Arabs on google play making reviews Jul 04 11:26:53 ok NVM turns out not include -> : wasted 3 hours of my day YAAAY Jul 04 11:27:35 raoul11: just checked, our #2 country is Iraq Jul 04 11:27:43 lololol Jul 04 11:27:52 after that Israel and then Jamaica Jul 04 11:27:57 you guys using firebase yet? Jul 04 11:28:07 yes Jul 04 11:28:12 we did early integration Jul 04 11:28:13 amazing isnt it Jul 04 11:28:21 and were in the presentation in the IO keynote Jul 04 11:28:25 yep Jul 04 11:28:25 was at google last week, they gave a talk about it Jul 04 11:28:30 same dude, ran Jul 04 11:28:35 TLV? Jul 04 11:28:39 yeah Jul 04 11:28:52 indie/middle size developers/companies confrence Jul 04 11:28:56 I work with a guy in Switzerland Jul 04 11:29:32 anyone guys? the check in the breakpoint red circle doesn't appear Jul 04 11:29:47 gdrc: is it in your source? Jul 04 11:30:04 in the main app or library? Jul 04 11:30:11 my source yes Jul 04 11:30:27 try clean Jul 04 11:30:41 also there is a setting to ignore breakpoints Jul 04 11:30:45 on some classes the check appears in other dont Jul 04 11:31:03 there you go Jul 04 11:31:18 what? Jul 04 11:31:39 check the checkbox Jul 04 11:32:22 http://imgur.com/64AXYwr Jul 04 11:32:24 How the hell do I check if my ValueAnimator's ready to run or not? It doesn't give any error because .start() returns a void. Jul 04 11:32:26 this is what I mean Jul 04 11:35:58 MisterGadfly: it calls https://developer.android.com/reference/android/animation/Animator.AnimatorListener.html#onAnimationStart(android.animation.Animator) Jul 04 11:38:26 thepoosh: nowhere near what I'm talking about :D Jul 04 11:42:59 Ugh, it's probably because .setTarget doesn't work for ValueAnimator X_X Jul 04 11:56:16 Hi there. Trying to execute a few volley request using RXJava, I get stuck when I cancel the request : no event is emit and so, my observer are never notified. Any idea how to force my observable to emit an event or to force volley to throw an error if a request is cancel? Jul 04 11:57:58 Oh my flipping god, ObjectAnimator had a static method for multiple properties X_X Jul 04 11:59:14 Oh wait, I'm wrong Jul 04 11:59:49 No wait, I'm right! Jul 04 12:22:27 Ivru: you can probably extend Request Jul 04 12:22:32 and do it in the cancel Jul 04 13:19:04 thepoosh: I found a nice tool to convert iOS - android language resources, https://localise.biz/free/converter/ios-to-android Jul 04 13:19:24 in case you are also interested in something like this Jul 04 13:19:25 cool Jul 04 13:19:33 nah, we have a paid service we hate Jul 04 13:19:42 :p Jul 04 13:22:14 yo, can someone show me a codebase which actually allows me to take a photo with android, and save it to a uri or a bitmap Jul 04 13:22:29 kael03: Not found anything on GitHub? Jul 04 13:22:40 nothing i find is working Jul 04 13:22:48 it's either outdated or needs to be rooted, etc Jul 04 13:22:59 i need this shit like, NOWWWW Jul 04 13:23:23 If it's outdated, why not try updating it and making a pull request? Jul 04 13:23:35 Surely easier to do that than start completely fresh by yourself? Jul 04 13:23:39 cause im not that good, son Jul 04 13:23:51 Sure you are Jul 04 13:23:56 Have a little bit of faith :p Jul 04 13:24:36 can't someone just give me the right code D: Jul 04 13:24:54 What happened you also happened me recently in terms of BLE Jul 04 13:24:57 kael03: what do you already have? Jul 04 13:25:15 In what way is the apps outdated? Jul 04 13:25:16 nothing. i got the camera working on my phone. that's it Jul 04 13:25:18 can't save Jul 04 13:25:54 kael103: have a look at this for taking the picture: https://developer.android.com/training/camera/photobasics.html Jul 04 13:28:19 like, how do i get the file out of onActivityResult Jul 04 13:31:03 kael103: check the onActivityResult method Jul 04 13:33:29 ok i got the image in imageview Jul 04 13:35:18 what state am i supposed to save this in? Jul 04 13:35:20 image matrix? Jul 04 13:37:04 state? Jul 04 13:37:12 i think you are talking about scale type ;) Jul 04 13:42:38 OMFG I DID IT Jul 04 13:42:41 OMG. I GIG IT Jul 04 13:42:43 FUCK YESSS Jul 04 13:43:53 kael03: for what purpose? Jul 04 13:45:02 FOR BITCHES, SON Jul 04 13:45:33 o.O Jul 04 13:45:33 Huh? Jul 04 13:56:20 hello to everyone! I have a particular request... I need a mega-pack, or an API, to download the icons of the apps of the Play Store... I did some googling, but found nothing particular... is there around something? Jul 04 14:37:09 Hello everybody, I use AsyncTask to query data from sqlite and than update UI when finished. Is there a better and cleaner approach that also deals with the lifecycle of a fragment? I found something about CursorLoader, but that works with ContentProviders. There's little about using CursorLoader for querying from sqlite DB. Jul 04 14:37:40 Number5: there are many approaches you can use Jul 04 14:38:04 seems like creating a ContentProvider and using CursorLoader and LoaderCallbacks might be the easiest Jul 04 14:38:17 but also you can use RxAndroid Jul 04 14:38:26 or an ORM library Jul 04 14:38:30 Could someone please tell me why my " onRequestPermissionsResult " CallBack never Calls back ? Jul 04 14:38:58 cart_man: what are you building on Jul 04 14:38:59 ? Jul 04 14:39:11 22 Jul 04 14:39:23 permissions are only supported on M and above Jul 04 14:39:37 so users are not getting the request Jul 04 14:40:16 What about devices that will run the app that has 23+ on ? Jul 04 14:40:33 then it should return Jul 04 14:40:37 IIRC Jul 04 14:41:00 thepoosh: Ok soo I have 2 emulators ... one is 22 and other one is 23 ... the 23 one does not return though Jul 04 14:42:05 cart_man: is it a android.support.v4.app.Activity? Jul 04 14:42:12 or a regular activity? Jul 04 14:42:28 anywho, I am not sure Jul 04 14:42:37 also, what is your targetSdk? Jul 04 14:42:56 thepoosh, thnx. So there isn't a good clean solution for this kind of problem? I was hoping for something like Volley for http-requests. Anyway thnx. Jul 04 14:43:00 Can someone tell me where the screenshots are going from the AS emulator? Jul 04 14:44:06 Nvm Jul 04 14:44:08 found it Jul 04 14:54:55 Heh, just hacked some guy's leaderboard for the lols :D Jul 04 14:55:36 But I wasn't an asshole. Just one silly entry. Jul 04 15:04:28 Probably due to the fact that it uses Cordova. Just got the URL from the javascript. Are bonafide Java apps as susceptible as Cordova apps? Jul 04 15:11:27 cordova ['] Jul 04 15:15:16 gordon_: I'm not getting the reference/meaning Jul 04 15:19:58 Having unsecured API is pretty much the same for any language. Jul 04 15:28:52 Is "Make project" same as "compile" in Android Studio? and there's "Build APK" which I suppose is compile+link. Jul 04 15:28:58 Could anybody please tell me why the onRequestPermissionResult() does not make any callback ? -> http://pastebin.com/nMJT5xb3 Jul 04 15:29:26 purplex88: linking is done at runtime. Jul 04 15:29:30 because you didn't set target api 23 Jul 04 15:30:13 pfn: me ? Jul 04 15:30:19 yawkat: yes, dynamic linking Jul 04 15:30:20 But I have to remain 22 though Jul 04 15:30:49 purplex88: "make" is compile, and "build apk" is compile + package. Jul 04 15:30:50 then you don't get runtime permissions Jul 04 15:31:15 pfn: Yea but its for the phones that will use the app that is 23+ Jul 04 15:31:17 yawkat: makes sense in case of android Jul 04 15:31:37 cart_man, then set target api 23 Jul 04 15:32:10 pfn: And make 2 separate apps for the -23 and 23+ ? Jul 04 15:32:16 no Jul 04 15:32:21 22 devices would not run it? Jul 04 15:32:36 go read how target api works Jul 04 15:34:32 pfn: Ok so the compileSdkVersion 23 : buildToolsVersion "23.0.3" : minSdkVersion 22 : targetSdkVersion 23 ... It still does not give a callback Jul 04 15:34:57 of course it does Jul 04 15:35:47 your app has already been granted permission Jul 04 15:35:56 clean, uninstall then install app Jul 04 15:37:05 pfn: I usually go into Settings-> Apps -> MyApp and set all the permissions to Denied... then the App Asks me again..Thought it will work fo rthe callback? Jul 04 15:39:58 if it asks you then you get the callback Jul 04 15:41:10 hello Jul 04 15:41:21 Can I get some help with tasker? Jul 04 15:41:36 Tims_Tech, wrong channel Jul 04 15:41:39 k Jul 04 15:41:41 this is for app development Jul 04 15:41:44 just asking Jul 04 15:41:56 ow wait Jul 04 15:42:14 pfn: but I have Logs inside my callback and they never fire Jul 04 15:44:35 I am going to download android studio now Jul 04 15:44:51 I want to make a simple app that will execute a command if you press the button. Jul 04 15:44:57 and store the output in a textbox Jul 04 15:45:07 a 'live output' Jul 04 15:45:23 woo Jul 04 15:45:30 what? Jul 04 15:45:47 for tasker you might go to #android or #android-root Jul 04 15:45:53 hmm Jul 04 15:46:07 I think I will try to make my app in android studio Jul 04 15:46:20 I don't know java but some research will always help Jul 04 15:46:42 ah ok Jul 04 15:47:40 :-) Jul 04 15:47:46 then I can make a nice GUI Jul 04 15:48:04 no need to write an essay on it, just dive in and start learning. Jul 04 15:49:27 cart_man, you have logs behind ifs Jul 04 15:50:30 what is ifs ? Jul 04 15:59:29 How come I need to enable keyboard support in AVD Manager for every project? can't be set global for every new project? Jul 04 15:59:54 I want to have a broadcast receiver within an IntentService Jul 04 16:00:01 is this a very bad idea? Jul 04 16:04:20 guys, I need a little help. I haven't code in android for quite a while now and now I've started again and I need a little bit of help with getting JSON from an url ... to be more exact the reddit JSON. Now using lots of tutorials and stuff I've managed to get part of it .... this is where the problem is. I can't get the whole JSON for some reson, it just doesn't read it all. Only 4057 characters and then stops :| ... no idea w Jul 04 16:04:53 if someone could help me ... here's the code of the class that gets the JSON http://pastebin.com/5cCY4cUV Jul 04 16:05:14 is it possible to extract a file from resources in a android app? Jul 04 16:05:21 if yes please tell me how Jul 04 16:05:29 or give me a link please Jul 04 16:05:54 luci1093, have you considered using retrofit? Jul 04 16:09:21 what are you using for the connection? Jul 04 16:09:34 truckcrash, I've stumbled upon retrofit, but the point of trying to do this is so I can learn how to get and parse JSON into a listview ... it's for educational purpouses but I'm stuck at this for some time now :| Jul 04 16:10:21 zhntr, HttpURLConnection, I've declared it at the top of the class :) Jul 04 16:10:32 idk, I've looked around a lot of tutorials Jul 04 16:10:42 most of them are outdated :| Jul 04 16:11:20 and the ones I found all do kinda the same thing I've tried to do there ... but for me it fails :'( Jul 04 16:11:53 how do I store a command output to a textbox? Jul 04 16:14:35 so does any of you have a idea what's wrong? :| Jul 04 16:16:34 luci1093, they are not very reactful Jul 04 16:16:38 today Jul 04 16:17:35 :( Jul 04 16:17:48 :-/ Jul 04 16:18:04 It's been annoying for quite a couple of hours now T_T Jul 04 16:18:12 is there a decent nosql database? i have some objects i would like to persist and query that i really want to avoid writing a schema for Jul 04 16:18:15 luci1093, yes I agree Jul 04 16:18:20 for android obviously. Jul 04 16:18:53 yawkat, they are not very reactful today so don't expect any answer in the couple of hours :( Jul 04 16:25:08 and also: Jul 04 16:26:52 #android-dev hates newbies while they have been newbies once Jul 04 16:27:13 :o Jul 04 16:29:55 luci1093: could you somehow read to byte buffer, not by readLine? Jul 04 16:30:57 i bet json and new line dont like each other very much Jul 04 16:31:09 depends also is it pretty json or not Jul 04 16:33:22 yawkat, firebase? Jul 04 16:34:05 im looking for local. Jul 04 16:34:18 as a replacement for the usual sqlite. Jul 04 16:34:32 ah. ok. I dont have any experience with any then Jul 04 16:35:32 realm databse eh? Jul 04 16:36:37 Tims_Tech: TextBoc.setText(String) Jul 04 16:36:48 Ashiren: that looks like an orm, not a nosql db. Jul 04 16:36:51 Ashiren, hm ... thanks for the tip, I'll try it. But the interesting part is that the reading doesn't really stop at '\n' or something, it just stops after 4057 characters for some reason ... or at least that's how many it's shown when I print with Log Jul 04 16:37:07 javajoe, so I need to have the output as string right? Jul 04 16:37:20 some buffers stoping near 4096 eh? Jul 04 16:38:18 well its no sql Jul 04 16:38:30 Tims_Tech: Yep Jul 04 16:38:38 my data is somewhat relational, but i really want to avoid having a fixed schema and no nested data structures in this case Jul 04 16:39:04 luci1093, log messages are limited to roughly 5k Jul 04 16:39:05 so im thinking it may be easier for me to just ignore the relations and use a schemaless db Jul 04 16:39:10 er,4k Jul 04 16:39:27 hi Jul 04 16:39:33 javajoe, how to execute a command with a output as string then? Jul 04 16:39:38 I get this: /home/androidbuilder/android-sdk-linux/tools/ant/build.xml:538: Unable to resolve project target 'android-14' Jul 04 16:39:38 pfn, really? and how should I see if it gets all the data? Jul 04 16:39:50 I mean ... my while loop only happens once for some reason Jul 04 16:39:57 but I did: android update sdk -u -t android-14 Jul 04 16:40:16 and it did "Installing SDK Platform Android 4.0, API 14, revision 4" Jul 04 16:40:25 luci1093, any number of ways, but logging your json is not correct Jul 04 16:40:44 who still uses ant Jul 04 16:41:03 pfn: https://github.com/neurocyte/android-haskell-activity <- this person Jul 04 16:41:57 hm, well I initially got error when trying to parse the JSON and to be more exact when I did this JSONArray jArray = new JSONArray(result); Jul 04 16:41:58 Hello Jul 04 16:42:14 I find a android app code in github Jul 04 16:42:18 it didn't tell me an error or anything, it just showed the JSON as an error :| Jul 04 16:42:30 some html and js and css files Jul 04 16:42:35 so I figured it could be happening because it didn't read it all or something ... Jul 04 16:42:48 How can I ru this in my smartphone Jul 04 16:45:54 iphy, yuck, unusable without native bindings Jul 04 16:47:51 not to mention it's 3 years old Jul 04 16:48:24 luci1093, read the error before making assumptions Jul 04 16:50:26 where can I find the GUi thingy in android studio? the designer? Jul 04 16:52:20 Tims_Tech: http://www.lmgtfy.com/?q=where+can+I+find+the+layout+editor+in+android+studio Jul 04 16:53:10 pfn, I'm not making assumptions... it doesn't really tell me an error ... check the logcat http://pastebin.com/xDpYzCmR ... the only thing that looks like an "error" is that second line which says "at org.json.JSON.typeMismatch(JSON.java:111)" ... so basically the JSON isn't good? Jul 04 16:56:28 it tells you exactly the error Jul 04 16:56:38 your json is not an array Jul 04 16:59:03 pfn, that's what it's trying to say? lol ... Jul 04 16:59:13 trying? Jul 04 16:59:18 okay, well I'll try to parse it a different way then ... hm Jul 04 16:59:23 it says it clearly, you just wouldn't read Jul 04 17:00:03 anyone know whether bionic includes argp for argument parsing? Jul 04 17:00:37 I read it a couple of times actually -_-' .. but I did not think that's the problem ... oh well ... thanks >.< Jul 04 17:00:52 I guess you dont know json Jul 04 17:03:43 pfn, well yeah... not really... I'm actually doing this just for educational puropuses because I haven't programmed in android for a while, only in C and well ... didn't really meet up with JSON there xD Jul 04 17:04:04 anyway thanks ... I'll read about JSON a bit more eh ... Jul 04 17:04:22 pfn: yes, I'd like to get it to work if possible, and afterwards I can try to modernise it Jul 04 17:05:00 * pfn shrugs Jul 04 17:05:13 writing ndk code using haskell isnt valuable Jul 04 17:05:44 why not? Jul 04 17:06:10 because there's no value add Jul 04 17:06:25 I'd like to use a haskell library from an android app Jul 04 17:06:29 there's no performance improvement, there's no increase in reliability Jul 04 17:06:47 I guess that might be a potential reason Jul 04 17:07:05 but in that case, you would just build it as a library and link stuff Jul 04 17:08:13 that's probably what I'm going to do Jul 04 17:08:44 but I saw this, and I was hoping I could test it :) Jul 04 17:10:51 hmm Jul 04 17:11:00 where is the main xml file? Jul 04 17:11:01 and write the necessary jni shims Jul 04 17:11:08 I want to start designign Jul 04 17:11:19 Tims_Tech: do you need another lmgtfy link? Jul 04 17:11:28 no I serarched Jul 04 17:11:29 found nothing Jul 04 17:11:44 what have you searched for? Jul 04 17:12:24 https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=android%20studio%20main%20design%20file Jul 04 17:12:24 https://developer.android.com/guide/components/fundamentals.html Jul 04 17:12:29 and also: Jul 04 17:12:35 listen to pfn Jul 04 17:12:40 required reading for all potential android developers Jul 04 17:12:47 yes Jul 04 17:12:52 do not pass go, do not collect $200 Jul 04 17:12:58 god yes Jul 04 17:14:55 drill down until you understand Jul 04 17:16:46 Tims_Tech, If you are keen to learn android development that is great, but you are just starting out. It will take a few weeks (at minimum) of doing courses and learning before you start to get a feeling of how to develop for android. Asking questions like "how do I do this?" are (usually) not good ways to seek help from the community. First you must put in your own effort. Do some reading, try it yourself. If the answer can easily be found on Jul 04 17:16:46 your own, you are just wasting our time. we are not your tutors. Jul 04 17:17:03 k Jul 04 17:17:07 If you have a problem you are truly stuck on, come show us the specific things you have tried. then we will try and help :) Jul 04 17:18:14 thepoosh was reading https://medium.com/@nikita.kozlov/navigation-in-the-context-of-mvp-f474ed313901 Jul 04 17:18:41 i see this pop up often in my code too, still not sure the best way to handle. but he gets the ball rolling a little Jul 04 17:20:45 * thepoosh is reading Jul 04 17:24:18 in google Keep they have something called NavigationController Jul 04 17:24:35 you send it Intents, its like a big switchboard Jul 04 17:24:42 meh Jul 04 17:25:57 nav managers are a common pattern Jul 04 17:26:57 is keep in asop, or open source? Jul 04 17:27:16 no, you have to decompile it Jul 04 17:28:18 ahh. gotcha. Jul 04 17:32:54 is there a way to configure android studio to NOT use /tmp when installing new components? Jul 04 17:33:33 on a systemd system /tmp is in memory. my system does not have enough memory to download and extract the entire NDK into /tmp (ram) and then copy it to its installation directtory Jul 04 17:35:44 Any example program which shows fragment activity lifecycle? Jul 04 17:36:31 can not see any configuration item in the system settings for setting download location. this is FREEKING STUPID Jul 04 17:37:11 downloading to /tmp and extracting to /tmp is guaranteed to fail on a systemd system that does not have enough ram to store ALL THAT DATA in ram Jul 04 17:37:33 so I created a button and textbox: Jul 04 17:37:36 mark4 you can try to change the java.io.tmpdir= Jul 04 17:37:44 Hey zhntr Jul 04 17:37:53 and how to do this in java?: sub button1_click Jul 04 17:38:11 zhntr and how would i do that? Jul 04 17:38:14 were would i do that? Jul 04 17:39:02 where do i file bugs for androud studio? Jul 04 17:39:03 hello? Jul 04 17:39:44 hey Velvet Jul 04 17:39:53 i desperately need help loading cyanogenmod on an LG e980 g4 optimus g pro...will someone help me please? Jul 04 17:41:11 Tims_Tech: go read the first android dev tutorial Jul 04 17:41:21 purplex88: there are many of those Jul 04 17:41:29 probably you can find one in the google examples Jul 04 17:41:33 hey thepoosh Jul 04 17:41:36 ow this LOL Jul 04 17:41:39 hi Jul 04 17:41:43 thepoosh: i cannot find one Jul 04 17:41:49 mark4 http://tools.android.com/tech-docs/configuration Jul 04 17:42:09 thepoosh ...i've been working on this for 2 days...nothing is working Jul 04 17:42:09 thepoosh: i found only activity lifecycle demo not fragment Jul 04 17:42:37 oh..sorry Jul 04 17:44:26 thepoosh,How are you Jul 04 17:44:36 purplex88: https://github.com/googlesamples/android-architecture/tree/todo-mvp/ Jul 04 17:44:41 perlsyntax: pipssed off Jul 04 17:44:44 *pissed Jul 04 17:44:58 thepoosh,That not good. Jul 04 17:45:02 yes Jul 04 17:45:13 it'll be ok Jul 04 17:45:26 cool Jul 04 17:45:48 maybe once Tims_Tech and purplex88 will lean basic searching abilities I'll be better Jul 04 17:46:28 i wasnt using 2.0 i was trying to use the latest canary build Jul 04 17:47:20 and now the sdk manager does not show me what is available for installation, it only shows me what is currently installed :/ Jul 04 17:51:11 thepoosh, you probably were never a noob or a beginner and made mistakes. Jul 04 17:51:37 I was, but I knew I was and went to read tutorials and watch videos Jul 04 17:51:46 and when I asked stupid questions I was told I am Jul 04 17:51:51 it made me better Jul 04 17:52:01 thepoosh: too complex :/ i mean like this: http://developer.android.com/shareables/training/ActivityLifecycle.zip Jul 04 17:52:52 https://github.com/SilverBayTech/FragmentLifeCycle Jul 04 17:54:05 https://developer.android.com/guide/components/fragments.html Jul 04 17:54:14 mines better thepoosh /: Jul 04 17:54:25 yeah, I was annoyed and lazy Jul 04 17:54:49 think i learned fragments from this tutorial on youtube Jul 04 17:55:15 amazing that you can find tutorials on youtube these days thepoosh Jul 04 17:55:23 its a bit dumb that you have to at the point of editing some project before you can make important configuration changes like this one Jul 04 17:55:40 I learned android to begin with from thenewboston Jul 04 17:55:47 back in 2012 Jul 04 17:55:50 bucky is solid Jul 04 17:55:53 srsly downloading to /tmp is FUCKING MORONIC on todays machines running systemd Jul 04 17:55:54 or was it 2011 Jul 04 17:55:54 i like his tutorials Jul 04 17:56:07 I used to Jul 04 17:56:24 haven't seen them since they were updated but I'm told he's still in the zone Jul 04 17:56:41 today I would probably go for Udacity Jul 04 17:57:08 i usually grab a lynda or two if i need some app/language intro Jul 04 17:57:18 lynda/plural Jul 04 17:57:25 whatever is available on p2p /: Jul 04 17:57:42 p2p? Jul 04 17:57:54 how to create a sub with button1 please answer I searched Jul 04 17:57:57 torrents Jul 04 17:58:01 ah Jul 04 17:58:11 Tims, stop asking and go learn java Jul 04 17:58:19 whats a sub? Jul 04 17:58:29 sub as in subroutine Jul 04 17:58:33 as in function Jul 04 17:58:36 raa class Jul 04 17:58:43 raoul11, a class Jul 04 17:59:18 my dirty mind took me to other places truckcrash /: Jul 04 17:59:26 :O oh my Jul 04 17:59:31 i desperately need help loading cyanogenmod on an LG e980 g4 optimus g pro...will someone help me please? Jul 04 17:59:39 Velvet, wrong channel Jul 04 17:59:42 think u need #android for that Jul 04 17:59:45 ...or an unlock code Jul 04 17:59:51 or #xda Jul 04 18:00:05 okty Jul 04 18:02:09 http://www.androidpolice.com/2016/07/04/huawei-publishes-implied-p9-camera-sample-but-exif-data-reveals-4500-camera-took-it/ Jul 04 18:06:30 raoul11: haha Jul 04 18:07:46 that's some insane marketing Jul 04 18:07:52 mark4 wasn't /tmp historically a safe bet? maybe devs don't want to care about the latest fads in linux bulshit Jul 04 18:07:53 and not a lie told anywhere Jul 04 18:08:25 /tmp has been a tmpfs for decades in unix Jul 04 18:08:34 storage is traditionally limited Jul 04 18:08:55 g00s i dont think systemd is a fad, i think its the future. i dont agree with it 100% but it is here to stay Jul 04 18:09:08 downloading LARGE AMOUNTS OF DATA to /tmp is doomed to failure Jul 04 18:09:56 i think using /tmp even on a non systemd system to download and extract huge files is wrong from the get-go. thats why every user has a /home/Downloads directory Jul 04 18:11:00 set your java.io.tmpdir Jul 04 18:12:50 how? where? Jul 04 18:15:00 also, changing javai.io.tmpdir is not the right thing to do. /tmp IS valid for some things, downloading LARGE data files and extracting them there is NOT one of them Jul 04 18:15:14 there should be a configuration item to change download directory Jul 04 18:15:52 I will stop in android studio Jul 04 18:15:58 I will do it in B4A Jul 04 18:16:05 i change tmpdir and now my ~/foo/bar/bam directory is being cluttered with a bazillion temporary files that will never be deleted unless i do it myself Jul 04 18:16:15 much easier Jul 04 18:16:38 mark4, submit a pr or shush Jul 04 18:16:49 i did submit a bug report Jul 04 18:16:51 whats a pr? Jul 04 18:18:17 meanwhile im screwed for being able to install the NDK :/ Jul 04 18:18:26 NDK is huge Jul 04 18:18:27 What would be the alternative, .cache? Jul 04 18:18:51 yawkat ~/tmp :D Jul 04 18:19:43 which is not available for install from the stand alone sdk manager :/ Jul 04 18:19:58 which does not seem to be stupid about where it downloads things to from what i can tell Jul 04 18:20:29 wtf its not available in the android studio sdk manager now either Jul 04 18:20:43 oh yea i already saw taht before. its only showing intalled packages now, not available packages Jul 04 19:07:01 If one removes the last element of an ArrayList does the ArrayList.size() become -1 ? Jul 04 19:08:01 there is a solution to my problem. su - root then unshare --mounts then mount -o rbind /tmp /somewhere-else then su user and run android studio. /tmp is now in /foo/bar/bam/somewhere-else on a physicak drive not in ram Jul 04 19:08:22 notice its su - root and "su user" no dash. almost got that part wrong myself Jul 04 19:08:46 still STUPID i have to do this su twostep to get this installed Jul 04 19:09:50 mark4, youre trying to install NDK? why not just download it separately and then point AS to the right dir where you saved it? Jul 04 19:10:01 you dont have to use the SDK manager Jul 04 19:10:03 tried that. didnt work Jul 04 19:10:12 mmm. should do Jul 04 19:10:12 android stupidio doesnt seem to realise its installed Jul 04 19:10:23 also could not do emerge android-ndk Jul 04 19:10:52 the way im doing it now WORKS. but its still a stupid thing for android studio to download ANY data to ./tmp Jul 04 19:11:09 creating temporary files in /tmp is not an abouse thereof. downloading anything at all IS an abuse. Jul 04 19:11:47 so changing java.io.tmpdir or whatever it is is not a correct solution Jul 04 19:12:26 downloading files to /home/me/Downloads is not an abuse of / but creating temp files on / is an abuse Jul 04 19:12:39 yes. you are upset. noted. Jul 04 19:13:41 no im not now, i was annoyed earlier but i have a solution to the problem Jul 04 19:14:10 its not a viable long term solution to the problem because not everyone will figure out how to do it or find anyone who can help them do it this way Jul 04 19:14:29 the solution is for android studio to NOT use /tmp as a download store OR an extract store Jul 04 19:14:52 i already reported a bug for this with google Jul 04 19:15:17 but they will probably rationalize the java.io.tmpdir method as being the fix Jul 04 19:23:09 mark4 do things work better if you download the sdk manager manually, install the bits outside of AS ? Jul 04 19:23:20 no Jul 04 19:23:46 i got it done by doing the above convoluted crap lol Jul 04 19:26:10 tmpfs "supports swapping out less-used pages to swap space as well as filesystem size and inode limits to prevent out of memory situations (defaulting to half of physical RAM and half the number of RAM pages, respectively)." Jul 04 19:26:31 maybe its just your tmpfs isn't set up right ? Jul 04 19:26:51 mark4 you are the first person here that I've ever seen have a problem with this Jul 04 19:26:57 are you using some weird shit like gentoo ? Jul 04 19:27:19 * g00s used to use gentoo :) Jul 04 19:27:32 its not a gentoo issue its a systemd issue Jul 04 19:27:36 systemd puts /tmp in ram Jul 04 19:27:46 and sets a limit on use thereof Jul 04 19:28:07 so downloading and extracting the entire NDK into RAM is stupid Jul 04 19:28:10 so are you using tmpfs or not ? Jul 04 19:28:20 systemd puts /tmp in ram Jul 04 19:28:31 thats not the question. is /tmp tmpfs Jul 04 19:28:59 no idea Jul 04 19:29:21 putting /tmp solely in ram w/o swap failover seems pretty damn stupid too, don't you think ? Jul 04 19:29:27 all i know is it is in ram and there are limits on how much you can use. i have 4 gigs of ram and 2 of swap. the zip file is a few hundred megs compressed Jul 04 19:29:44 there is swap available. Jul 04 19:30:10 whats stupid is downloading and extracting large amounts of data into /tmp - thats not what its for Jul 04 19:30:19 thats what /home/me/Downloads is for Jul 04 19:30:31 i think its only stupid if /tmp is configured to be ramdisk, which seems dubious to be still Jul 04 19:30:46 and /home/me/downloads is not a standard posix dir for anything Jul 04 19:30:52 as already stated systemd puts tmp in ram Jul 04 19:30:54 mark4, have you tried 'systemctl mask tmp.mount' Jul 04 19:31:06 then reboot... Jul 04 19:31:25 see posted solution above. much better Jul 04 19:31:34 tho still convoluted Jul 04 19:31:46 did not require a reboot and installation succeeded Jul 04 19:32:30 mark4, how much ram do you have? Jul 04 19:32:46 4 gigs and 2 gigs of swap Jul 04 19:33:07 systemd will not allow you to use /tmp excessively Jul 04 19:33:19 and i agree with that philosophy Jul 04 19:33:50 the /tmp directory is for the creation of temporary files during execution, its not a place to download and extract gigs of data Jul 04 19:33:55 my previous machine had 4/4gb. didn't have any problem like that Jul 04 19:34:12 are you using systemd or openrc Jul 04 19:34:57 yep, all systemd here Jul 04 19:36:12 anyway, if you can run AS, you can run anything (until all ram/swap's gone, of course) Jul 04 19:36:43 no. there seems to be a limit on how much any app can store in /tmp Jul 04 19:36:58 anyway i have to reboot. forgot to unbind the /tmp mount lol Jul 04 19:37:11 not catastrophic just reboot and delete /home/me/tmp Jul 04 19:37:20 tmp belongs in ram not on physical Jul 04 19:37:28 downloads belong on physical not in ram Jul 04 19:37:36 mark4 if /tmp is too small, /var/tmp is the next place to go usually Jul 04 19:37:51 well /var/tmp is a symlink to /tmp Jul 04 19:38:00 lol, sounds like your config is fucked up Jul 04 19:38:07 but AS does not use /var/tmp it uses /tmp Jul 04 19:38:11 its not Jul 04 19:38:41 mark4 always has the strangest damn problems Jul 04 19:39:10 usually comes down to running some custom gentoo on a commodore 64 with scripts written in forth or something Jul 04 19:45:11 I keep being told that "android is not linux". can someone explain this to me? how is android not linux? surely it's configured differently than common linux distros, but... is it not linux? Jul 04 19:45:26 It is not gnu/linux Jul 04 19:45:39 But kind of off-topic for this channel. Jul 04 19:46:50 pepee its based off an old version of the linux kernel (3.4.0) Jul 04 19:47:12 g00s, so? Jul 04 19:47:18 yawkat, ok Jul 04 19:47:33 there are android specific extensions to the kernel that were never merged upstream. so they are related, but not the same Jul 04 19:48:03 I'm not talking only about the kernel, I'm talking about the base system in general, kernel + userland Jul 04 19:48:22 android-root can help you more Jul 04 19:48:29 Linux is only the kernel Jul 04 19:48:52 The userland of most linux distros is gnu which android doesn't use Jul 04 19:49:44 g00s, yeah, I asked there, thanks Jul 04 20:01:11 hey guys so as usual android studio starts to act up - so I created a new project and transferred all my classes even my google json services file - but having issues with Facebook - I moved over the app id in the manifest and have it in my gradle file Jul 04 20:01:53 am I suppose to do something else (I have facebook initialize on the screen) - but get that the key hash does not match - if I have the same package name does that make sense Jul 04 20:06:47 ah need to get a new key hash got it Jul 04 20:32:48 why is the line of code 75 in https://i.imgur.com/CHrt8HC.png highlighted as a wrong one?? isn't the syntax heckbox checkbox= (Checkbox)findViewById(R.id.check_box_1) ; right ? Jul 04 20:33:25 i wanted to get the checkbox button that is already created in the activity_main.xml file Jul 04 20:33:39 *syntax Checkbox * Jul 04 20:47:02 its CheckBox, big B Jul 04 20:47:12 also import it Jul 04 20:53:39 hi, was @drawable/abc_ic_clear_mtrl_alpha removed from appcomp-v7 v24.0.0? Jul 04 20:57:07 Ashiren: aaah i see, thanks Jul 04 20:57:14 Ashiren: anyway i have the autoimport on :> Jul 04 21:02:00 How can I make a WHERE id in (1,2,3) type of query using a content provider?) Jul 04 22:08:59 lol huawei "TLDR: this photo was taken on a Canon 5D Mark III with a $2000 lens." Jul 04 22:09:28 that could be fines in the US for misrepresentation Jul 04 22:11:28 hi is anyone here familiar with Google Play rejections ? Are they automatic i.e. not scanned by human but more a Robot? Jul 04 22:12:15 lahsrah best place to resolve that is on the support bulletins Jul 04 22:12:56 what exact division of labor they employ at this exact moment, between algorithm and human, is hard to know Jul 04 22:13:22 if you respond with an appeal, it should be seen by a human, but i do not guarantee Jul 04 22:13:54 i just find it ridiculous that they rejected my app when I took proper care to not break any copyrights. Jul 04 22:14:51 Here's the letter: http://i.imgur.com/S2BOOhV.png Yes they rejected me for using the marketing poster of the open source animated movie by blender foundation, the poster itself has the Creative Commons Attribution 3.0 license. Jul 04 22:15:07 Surely google 'bots' should know about 'Big Buck Bunny' Jul 04 22:16:45 lahsrah i can't give any advice, if i'm wrong the consequences are dire Jul 04 22:16:55 Hi Jul 04 22:17:38 how can one develop android apps? Jul 04 22:17:42 g00s: yeah I know i was just ranting, I already appealed by i have to wait 72 hours now. People say how google store is more open than apple's but it seems opposite when it comes to app approval. Jul 04 22:17:49 Google shoots first then asks questions letter. Jul 04 22:18:13 thats what robots tend to do Jul 04 22:18:22 its just a preview of society to come :) Jul 04 22:19:54 h help me Jul 04 22:20:11 what languages I should learn to develop android apps? Jul 04 22:20:28 java Jul 04 22:20:57 why do people ask questions on irc that Google would answer much faster? Jul 04 22:21:12 the need for interaction Jul 04 22:21:17 yeah, thats not a hard one ;) Jul 04 22:21:17 I see. Jul 04 22:21:18 Robdgreat: google no Jul 04 22:21:27 I want live answers Jul 04 22:21:45 jessu: https://www.google.co.nz/search?q=what+language+are+android+apps+written+in%3F&oq=what+language+are+android+apps+written+in%3F&aqs=chrome..69i57j0l5.5757j0j7&client=ubuntu&sourceid=chrome&ie=UTF-8 Jul 04 22:21:58 jessu: Robdgreat is a google bot if you didn't know. Jul 04 22:22:03 if only Jul 04 22:22:11 jessu (or anyone) has a budget here for questions you ask. spend too much on silly questions, and you won't get the real ones answered either Jul 04 22:22:26 I must learn java ?/ Jul 04 22:22:28 metaquestions are particularly costly Jul 04 22:22:37 jessu: since that's what android apps are written in, yes Jul 04 22:23:20 Robdgreat: I mean then my question is different....except java and android sdk tools writtrn in java can i use any other language? Jul 04 22:23:21 "Can I ask a question?" "You just did, and it was a doozy. You've used up your quota for the day, though. See you tomorrow" Jul 04 22:23:26 jessu: you can user other languages but I'd start with Java first to get familiar with the apis. Jul 04 22:23:45 i dont like java Jul 04 22:24:37 hahha Jul 04 22:25:24 that's tragic Jul 04 22:26:25 I heard reactjs what is it? Jul 04 22:26:45 Can I develop using nativereact sorry Jul 04 22:26:46 it's google, that's what it is Jul 04 22:57:11 Hi guys. I'm working on my first homescreen widget and I have a configuration for it. Also, I have a default launcher Activity which however I just finish() right immediatellyr in onCreate(); When the user clicks on my app icon in launcher nothing really visually. My question is can I somehow get rid of default launcher activity because it has nothing to do with widget starting and running anyway? Jul 04 22:58:46 I mean, there's no any purpose to have the icon in launcher since user adds and starts the widget through the widget menu, not launcher Jul 04 23:01:22 You should be able to just remove the entry in the manifest - having an activity with the launcher filter is not required Jul 04 23:02:06 as a practical matter (and I speak from some scars :) people are sometimes surprised by widget-only apps, as often widgets are hard to find Jul 04 23:04:16 kbs: Yes, I tried it but in this case widget simply doesn't start, and I get an error ("Could not identify launch activity: Default Activity not found") Jul 04 23:04:57 Android needs to have default activity anyway Jul 04 23:05:07 really? Jul 04 23:06:41 https://github.com/kbsriram/prw/blob/master/AndroidManifest.xml "works for me" (tm) not sure why not for you Jul 04 23:13:26 android does not need default. activity Jul 04 23:13:46 android studio needs it to "run" Jul 04 23:13:52 but android does. not need it Jul 04 23:14:54 kbs, pfn, yes you're right guys! Thank you. Jul 04 23:15:50 I just stumbled with the error AS informed me about and just didn't notice that it's not really an application exception but just AS norification Jul 04 23:16:01 The widget itself runs ok Jul 04 23:16:16 Thank you again! Jul 04 23:39:47 Do I need to add READ_EXTERNAL_STORAGE permission if I use StatFs with storage of SD card? The thing is that everything's working fine, but since StatFs reads SD card I don't understand why Android doesn't throw any error without READ_EXTERNAL permission added. Jul 04 23:43:48 Hey all.. I've just been told I have a slush-fund training budget. I was figuring on getting a few books. Got any suggestions. Jul 04 23:45:32 The Bible is the only book you need Jul 04 23:46:20 sorry :) Jul 04 23:46:42 * kbs always suggests SICP as the one CS-bible book to read, skip everything else :) Jul 04 23:47:16 yo, i know it' Jul 04 23:47:26 Hey guys, so my app is crashing constantly due to dialogs - I tried calling dismiss on it still getting same leaked window error, anyone know why? http://stackoverflow.com/questions/38193443/getting-a-leak-window-error-due-to-my-custom-dialog code here <--- Jul 04 23:48:11 Lonesoldier728 old school managed dialogs ... run ! Jul 04 23:48:51 Thanks for that Leeds. Jul 04 23:48:51 https://www.amazon.com/Structure-Interpretation-Computer-Programs-Engineering/dp/0262510871/ref=sr_1_1?ie=UTF8&qid=1467676089&sr=8-1&keywords=Structure+and+Interpretation+of+Computer+Programs Jul 04 23:48:53 i know it's the 4th, but is anyone here to check this out for me: http://pastebin.com/TW5pVknE currently have a listview with a button. I want the quantity to decrement whenever it's pressed. although the button can be pressed, it only decrements once(the toast will show up, but the number stays constant). how do i go about fixing it? Jul 04 23:49:20 er, it's the 5th... Jul 04 23:49:20 @g00s_ what do you mean? Jul 04 23:50:02 Lonesoldier728 i think DialogFragment takes care of some of the weird lifecycle issues Jul 04 23:50:27 kael03: It doesn't look like you're removing anthing. Jul 04 23:51:07 I can just replace progressDialog with dialogfragment Jul 04 23:51:12 or is there a little more involved that that Jul 04 23:51:29 I am ready to try anything my backup plan Jul 04 23:51:35 I assume you're talking about line 51 Jul 04 23:51:38 is to get rid of the loading in the meanwhile till I fix it Jul 04 23:52:39 Leeds: any other suggestions? Jul 04 23:53:11 dunno, I stopped buying books years ago Jul 04 23:54:26 Question to the group.. other than books what would you spend a training budget on? Jul 04 23:55:24 I'd far prefer to go to a conference Jul 04 23:56:23 baash05, what do you mean? Jul 04 23:56:58 My job is giving us a training budget. Jul 04 23:57:19 oh, i meant for my thing. you said line 51 something something Jul 04 23:57:35 Oh.. well you said the value isn't changing. Jul 04 23:57:54 I assume you mean "sum" is staying the same. Jul 04 23:58:02 it decrements once and displays, but that's it. the toast will still pop up, but doesn't decrement anymore Jul 04 23:58:04 num.. Jul 04 23:58:31 num isn't changing because it reads from i.get_quantity Jul 04 23:58:43 My guess is that the value returned there is constant. Jul 04 23:59:19 What comes out of that? Jul 05 00:00:21 Any other thoughts on my dialog issue : / Jul 05 00:00:33 that's the thing. why is it a constant, and how do i change that Jul 05 00:00:54 http://stackoverflow.com/questions/38193443/getting-a-leak-window-error-due-to-my-custom-dialog <-- that acts like the terminator and crashes my app Jul 05 00:00:55 Where is the code for get_quantity? Jul 05 00:02:03 it's in another class Jul 05 00:02:20 right.. I'd bet it's not reading from the text.. Jul 05 00:02:27 do you have a set_quantity method in there? Jul 05 00:05:18 OMG. you're a genius! it worked! Jul 05 00:05:55 Lonesoldier728 also ProgressDialog is kinda old school Jul 05 00:06:16 put an indeterminate spinner in the content, show it when needed Jul 05 00:06:33 i can't recall the last time i've seen one Jul 05 00:11:35 g00s_ what seen a spinner or progress dialog Jul 05 00:12:24 setProgressBarIndeterminateVisibility(false); Jul 05 00:12:32 this should be fine with appcompat toolbar? Jul 05 00:44:46 g00s_ switched my code to this http://pastebin.com/F7VbyLNd Jul 05 00:45:00 and it still getting leak calls... how it is so simple... what could I be doing wrong Jul 05 02:10:59 hi. i have a sqlite db and i'd like to read the entries with my app. do i have to add the db in the project folder or something? how can i add an existing db to my project? thanks Jul 05 02:19:51 nevermind, found a solution. http://www.javahelps.com/2015/04/import-and-use-external-database-in.html Jul 05 02:54:46 hello, i can't restore my fragments witch nested in a parent fragment. all the datas association and fragments saved with correct way. is there any issue with the 'childfragmentmanager'? Jul 05 02:55:39 cnbleu hm, dont think it should matter - but make sure they have IDs, Jul 05 02:56:22 if in xml layouts like Jul 05 02:58:06 my fragments with in not , and every framelayout has its own IDs Jul 05 02:59:46 i debug it and found the method 'onViewCreated' called with non-null savedInstanceState **** ENDING LOGGING AT Tue Jul 05 02:59:59 2016