**** BEGIN LOGGING AT Tue Aug 30 02:59:58 2016 Aug 30 03:01:10 "winegoddess"... sound like the name of a drunkard Aug 30 03:03:51 read the topic Aug 30 03:06:12 anyone have thoughts as to what might be happening with the linking here ... http://pastebin.com/WrDdyweW Aug 30 03:08:45 pepperoni, where's the -l Aug 30 03:08:46 whatitis: sorry. I wrote it only because the user quitted. So technically it's not name-calling. Aug 30 03:08:59 pepperoni, linking basics Aug 30 03:09:15 pfn: its set in LOCAL_STATIC_LIBRARIES Aug 30 03:09:33 at least from what i understood from the docs Aug 30 03:09:45 if it weren't found, there would be a 'file not found' type of error Aug 30 03:13:53 lol from aosp sources : The initial sync operation will take an hour or more to complete. Aug 30 03:13:57 or more ... Aug 30 03:14:02 or much much more .... Aug 30 03:15:50 pfn: are you saying that adding it to LOCAL_STATIC_LIBRARIES is wrong? Aug 30 03:16:37 dunno don't remember the syntax Aug 30 03:18:00 iirc, that's only for libs that are currently building Aug 30 03:19:10 when adding -l to LDLIBS, line 13 here seems to say not to ... http://pastebin.com/W0tVzBka Aug 30 03:19:33 so thats why i put it in LOCAL_STATIC_LIBS Aug 30 03:19:44 I'm interested in getting into android dev. How much of android is java? I.e. in what cases is it necessary to compile your own ROM vs develop a replacement app. Aug 30 03:27:43 Jiggunjer_: a replacement app for what? Aug 30 03:28:22 anything, the UI, settings, screen saver Aug 30 03:29:38 i don't know why but gradle started to give build errors , out of no where, http://pastebin.com/PcuVCRE9 Aug 30 03:29:46 Jiggunjer_: I guess you are confused. This channel is for development of android app. Usually apps that does something new, not replacement for existing apps. This channel is not about the development of the Android platform itself. Aug 30 03:30:25 hi all, any advice, created a new poject api 21, in all cases, but cant test on simulator or device. thanks Aug 30 03:31:52 oh, I was just wondering where the border was that Java app development covers. So if I wanted to change the settings choices that is platform development? Aug 30 03:32:56 jak2000: what's the difference with your previous question? Aug 30 03:33:25 arancio the previou question have error the project Aug 30 03:33:35 now havent error but cant test my app Aug 30 03:34:33 Jiggunjer_: compiling your own ROM is some kind of platform development. App development is... development of any application. Aug 30 03:35:13 yes, but *when* do you decide you need to edit the source, instead of developing an application to add that functionality. Aug 30 03:35:24 jak2000: define "can't test my app" Aug 30 03:35:38 What are the limits of what an app can add or replace Aug 30 03:36:43 arancio i hit RUN button and choose nexus 7 emulator,,, and i dont see the app run on my emulatr or put a icon on the emulator for test... Aug 30 03:36:47 same as on my cellphone Aug 30 03:37:19 Jiggunjer_: when it's easier or necessary to do so in order to add that functionality. Android is an operative system. When you are above the layer of abstraction of the OS, you do application development. Below is platform development. Aug 30 03:37:49 jak2000: check for error messages. there must be some, somewhere Aug 30 03:39:19 can you give an example Aug 30 03:39:25 Jiggunjer_: just learn what Android does and you'll have an answer. It's a broad topic. That is the way to find an answer to your question if you really are interested. Aug 30 03:39:55 Jiggunjer_: a device driver is matter of operative system. adjusting the way processes are scheduled is matter of operative system. Aug 30 03:40:19 Jiggunjer_: learn what's an operative system Aug 30 03:40:55 you look like someone bored more than someone genuinely interested Aug 30 03:41:11 why do you think so? Aug 30 03:41:31 bye Aug 30 03:41:38 most of what I know is self-taught on the web Aug 30 03:42:01 it's not the most efficient way to learn Aug 30 03:43:23 no, people who want to learn also read a book or two Aug 30 03:43:29 I have Aug 30 03:43:37 I know about operating systems Aug 30 03:43:51 then you know the answer and are just wasting time Aug 30 03:44:08 no, I wanted specific examples, because android is not like normal linux Aug 30 03:44:37 you are on my ignore list Aug 30 03:44:43 It uses apps for most of userland functionality, I just don't know if it is 100% Aug 30 03:44:57 what a dick Aug 30 03:54:52 http://pastebin.com/hLW7jgCB line 73 with error Aug 30 03:54:56 see arancio? Aug 30 03:56:58 jak2000: so you have an error? Aug 30 03:57:24 I can't help you with that error. Sorry. Maybe someone else can Aug 30 03:58:09 yes need download the jdk for java 8 Aug 30 04:00:02 i think Aug 30 04:15:44 anyone know how to get ndk-build to display the linker line when compiling? Aug 30 04:15:53 pepperoni: -v? Aug 30 04:15:54 I think? Aug 30 04:16:46 Oh, wait, -n Aug 30 04:16:54 Which doesn’t execute the build, just prints the commands it would execute. Aug 30 04:16:58 pepperoni: ^ Aug 30 04:18:57 yeah, for a second i thought it was building Aug 30 04:19:20 i can't get the thing to link Aug 30 04:20:04 Welcome to the NDK! Aug 30 04:20:11 Where things change randomly for no apparent reason! Aug 30 04:20:48 i'm using the crystax ndk for now Aug 30 04:20:53 * dr_infernoo waves Aug 30 04:21:54 Hi, i downloaded the sample from https://developer.android.com/training/implementing-navigation/nav-drawer.html Aug 30 04:22:07 It is saying private ActionBarDrawerToggle mDrawerToggle; is deprecated though Aug 30 04:22:20 and crashes when it hits getActionBar() in the code, when i run the app Aug 30 04:22:24 what do I need to change? Aug 30 04:24:00 i don't see any linker lines when compiling, that's what I'm trying to see ... http://pastebin.com/WrDdyweW Aug 30 04:24:38 ir7466, this is a little guide on the new NavigationView: http://antonioleiva.com/navigation-view/ Aug 30 04:25:13 i actually use this library, though: https://github.com/mikepenz/MaterialDrawer Aug 30 04:25:13 thanks Aug 30 04:25:36 you're welcome :) Aug 30 04:29:14 i did : repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r1 ,,, Aug 30 04:29:50 but repo says d0a0ae3..21e0701 master -> aosp/master Aug 30 04:29:57 did i do something wrong ? Aug 30 04:30:06 want to check out 7.0.0_r1 files Aug 30 04:34:28 * g00s hates repo Aug 30 04:38:35 gotta ask specific channel, asking here is useless Aug 30 04:40:14 pepperoni: did you check the method signature ? Aug 30 04:40:34 maybe you have one & or * too much/missing Aug 30 04:46:37 If I'm going to use a GoogleApiClient in an Application, how am going to implement its callbacks if they're Activity-specific? Aug 30 04:47:25 ha, in the activity Aug 30 04:47:33 kinda sucks Aug 30 04:48:03 i don't know about all the apis, but ones i looked at require activity contects Aug 30 04:48:19 which ... i deplore, google being paternalistic Aug 30 04:49:30 g00s: so I can't? Aug 30 04:49:45 can't what ? Aug 30 04:50:12 has to be Activity Aug 30 04:50:12 g00s: implement it in an Activity while also having callbacks for each Activity? Aug 30 04:50:42 *implement it in an Application (need my coffee) Aug 30 04:52:58 Maybe I could make a Runnable that checks if the GoogleApiClient is connected at a 1s interval? Aug 30 04:58:34 I have fragment A and B, and FAB icon to switch between them, when i switch fast via FAB, it crashes due to null context for the sharedpref in fragment B; any work around? Aug 30 05:22:48 kevin_808: can't you check if context is NULL before switching ? Aug 30 05:23:36 somehow due fast switching, context is not captured and comes as null, but for the methods to work, it requires a context Aug 30 05:23:52 i tried to use getApplicationContext() but wasnt available Aug 30 05:43:58 anyone know about writing custom/compound views? Aug 30 05:48:47 drinfernoo: yes Aug 30 05:49:03 hehe Aug 30 05:49:09 what do you want to know? Aug 30 05:50:45 im trying to extend LinearLayout, but im having trouble getting it to actually show any of the views ive declared in the layout im inflating into it Aug 30 05:53:19 ive gotten my inflater from context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) and ive set the height and width to MATCH_PARENT using a LinearLayout.LayoutParams, and set the proper orientation Aug 30 05:53:45 all programatically, since i guess i cant do it in the root merge tag Aug 30 05:54:08 LayoutInflator.from(context).inflate(R.layout.foo, this); // inflate the layout into this view (LinearLayout subclass) Aug 30 05:54:32 If your R.layout.foo contains another layout with a set height and subviews, it should work just fine Aug 30 05:54:57 Maybe your "parent" parameter in .inflate(, ) is null? Aug 30 05:55:21 If you use merge, yes, you'll have to set height to MATCH_PARENT programatically Aug 30 05:55:36 (and width, orientation) Aug 30 05:56:18 LayoutInflator.from(context) is just a shortcut for ((LayoutInflator)context.getSystemService(Context.LAYOUT_INFLATOR_SERVICE)) Aug 30 05:56:22 i figured out part of it, actually Aug 30 05:56:30 What was it? Aug 30 05:56:45 im using it in a viewpager, and i wasnt adding the view to the container in instantiateitem Aug 30 05:56:58 thats one thing, and now its sort of working Aug 30 05:58:28 however, in my layout i have a RadioGroup, and in onFinishInflate, im adding RadioButtons to that RadioGroup, and they arent showing up now lol Aug 30 06:00:18 do i need to invalidate the view after that maybe? Aug 30 06:00:27 no Aug 30 06:01:19 If you're programatically instantiating your view, you're not going to even get an onFinishInflate. You should probably just add the buttons during construction Aug 30 06:01:37 Or better yet, put them in the xml Aug 30 06:01:41 ok, lets try that Aug 30 06:01:53 need to add them dynamically, or i would lol Aug 30 06:01:58 k Aug 30 06:02:19 yea, if its dynamic, add them during init, or better yet, through some kind of setter Aug 30 06:02:29 or even better, through some kind of adapter Aug 30 06:02:41 boom, that did it Aug 30 06:02:52 but, the init/setter paradigm should be fine for small amounts of buttons Aug 30 06:02:54 nice. Aug 30 06:03:18 yeah, shouldnt be more than a handful, hopefully lol Aug 30 06:03:32 cool, im getting the hang of this i hope Aug 30 06:04:02 Sounds like you are, man woohooo Aug 30 06:06:14 i totally appreciate your enthusiasm :) lol Aug 30 06:06:28 first time trying to write custom views lol Aug 30 06:30:25 explodes, you still around? Aug 30 06:45:44 I'm gonna firebomb Google's offices if they don't respond to my ticket soon X_X Aug 30 06:46:15 wait Aug 30 06:49:45 Mariu: I paid 25$ for their service, I shouldn't wait up 2 business days! Aug 30 06:50:33 that's a hefty sum of money right there! Aug 30 06:50:44 sorry :] Aug 30 06:52:28 VerbalKint: what is your problem Aug 30 06:52:47 Marlinski: damn right. I could've bought ~15 bottles of Coca Cola with that kind of money! Aug 30 06:53:17 squ: my Google Game Service is tied to an invalid Google API key and is making the service invalid Aug 30 06:53:19 I've received Captain Obvious answer from google support Aug 30 06:53:25 don't expect much from them Aug 30 06:54:06 squ: I can't unlink the damn key even if it's deleted X_X Aug 30 06:54:15 hehehe :) Aug 30 06:54:44 squ: StackOverflow and Google support says that I should contact them, so this is what I'm doing Aug 30 06:55:00 good luck Aug 30 06:55:01 ;) Aug 30 06:56:23 squ: I shouldn't need luck for this X_X Aug 30 06:56:32 you think so :) Aug 30 06:57:01 But meh, I'm mostly joking. I'm not really pissed off. :D Aug 30 07:09:16 I have 2 API keys. One for debug and one for release, but I'm seeing that one of them has 2 missing chars at the end of the SHA1 and they're not equal when I load them on the google console. Aug 30 07:10:01 Is this normal? Aug 30 07:11:19 *Oauth key Aug 30 07:11:48 ))) Aug 30 07:13:01 squ: Russian? :D Aug 30 07:26:08 New mystery situation: how can I determine if my user is Romanian or not because some of my users might have the default language set to English and I don't want them to view the English content? Aug 30 07:28:04 if they chose the english, let them suffer with english Aug 30 07:28:59 Ashiren: but they wouldn't actually understand most of the English content Aug 30 07:29:32 so why choose english in the first place Aug 30 07:30:11 Ashiren: because they can understand most of Android's English stuff Aug 30 07:30:50 I doubt that most of my users would be sophistricated and eclovent enough to understand complox English stuff Aug 30 07:32:44 They're all philistrines Aug 30 07:34:50 is this romanian-specific app? so dont provide english version :v Aug 30 07:35:03 i doubt you can "detect if user is romanian" Aug 30 07:35:25 Ashiren: was thinking of checking for the carrier, but I don't want to add that permission Aug 30 07:35:34 maybe location Aug 30 07:35:41 but thats another permission Aug 30 07:37:28 Gah, will have to add a language option Aug 30 07:40:35 VerbalKint: why not add an activity at startup to display which language preference ? Aug 30 07:40:50 Marlinski: this is what I'll do Aug 30 07:41:10 it's a good idea Aug 30 08:10:18 Can I delete a Games Service project? Aug 30 08:10:43 Or am I supposed to just make another one? Aug 30 08:13:49 Why the hell am I forced to create achievements? X_X Aug 30 08:19:50 i just create 5 dummy achievements Aug 30 08:19:51 VerbalKint: So you can get a little badge? :-) Aug 30 08:20:12 although im not sure if google likes that and wont make any trouble Aug 30 08:22:05 lol, I wonder you could sell leaderboard scores to certain dumbasses Aug 30 08:22:08 *if you could Aug 30 08:23:41 Like some weirdos that really want to have high scores on an app Aug 30 08:24:10 setting up a new pc, but now intellij ultimate is complaining about "please specify android sdk" even though the device manager launches and the project has a valid sdk defined Aug 30 08:24:24 anyone have an idea? Aug 30 08:26:19 specify it? Aug 30 08:26:22 what else? Aug 30 08:26:23 And then an in-app purchase removes the paid listings from the leaderboard. :-) Aug 30 08:27:13 squ: but it is configured Aug 30 08:27:26 env variable is set, sdk is defined, everything is as it should be Aug 30 08:27:37 gradle builds fine outside ide Aug 30 08:28:02 oh my Aug 30 08:28:09 "Please specify Android SDK" is the most useless error message too. Aug 30 08:28:12 just specify the fucking sdk for the ide Aug 30 08:28:18 i did! Aug 30 08:28:24 okey Aug 30 08:28:57 https://s.yawk.at/VJAd Aug 30 08:29:23 what the hell Aug 30 08:30:26 my best guess is that the sdk is somehow half-defined. but i have no idea whats missing and the error is far from helpful Aug 30 08:30:40 maybe you specified it incorrectly Aug 30 08:30:54 how about downloading android studio? Aug 30 08:31:22 that wouldnt exactly fix my intellij would it Aug 30 08:31:31 right, yep Aug 30 08:31:51 yawkat: tried resetting your ~/.AndroidStudio2.1? Aug 30 08:32:02 I mean deleting it Aug 30 08:32:15 Note: you'll all settings Aug 30 08:32:38 yea, not gonna do that, but let me look if i can find some android plugin settings to delete. Aug 30 08:33:00 yawkat: back it up and see if a new installation works? Aug 30 08:34:47 ah. i deleted the .idea of the project, imported the gradle project without adding the android facet and now it's importing. Aug 30 08:35:07 what is the .idea for? Aug 30 08:35:23 it's the intellij project configuration directory. Aug 30 08:35:49 it goes into each project directory? Aug 30 08:37:40 yea it works now. what an odd issue. Aug 30 08:44:37 I forget everytime that Canvas.drawText draws above the point you specify... Aug 30 08:51:04 hithere - I am trying to create build variants free, pro but running app (Shift+f10) in AS does only first variant free-debug. pro-debug is missing. http://pastebin.com/g38fsqLF Aug 30 08:51:35 I have probably overlooked something in gradle settings Aug 30 08:52:15 Goddamn finally! I managed to fix the Games Service. Aug 30 08:58:30 according to http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Product-flavors by running App I should have free-debug and pro-debug Aug 30 09:00:13 by generating Signed APK - it creates both release variants - it gives me the choice to do so Aug 30 09:00:50 Would you guys recommend using proguard-android-optimize.txt? Will it break stuff? Aug 30 09:06:38 Hello, anyone using Android Studio could tell me the shortcut to go on the last page seen ? I was using "Alt + Left Arrow" on Eclipse, but on ANdroid Studio, it just open the closest tab Aug 30 09:06:48 is it understandable ? :) Aug 30 09:06:56 ctrl-tab? Aug 30 09:07:35 yawkat: yeaaaah !! :) thanks Aug 30 09:18:47 in the layout preview, is it possibile to see the whole layout? I have a scrollview and I can't see it full Aug 30 09:26:13 hm - when I want to instantiate an object at application start, how do I do this ? Aug 30 09:29:00 in your Application object Aug 30 09:29:33 ok and how ? Aug 30 09:29:45 ok - command line gradle ("gradlew assemble") creates all build variants set in gradle config Aug 30 09:29:48 because in my application, I dont see an application object. Aug 30 09:30:02 there is nothing implementing or extending application Aug 30 09:30:24 I really need exactly this: instantiate a variable in the application object Aug 30 09:30:26 it seems to me that android studio ignores those flavors - is it possible? How can I overcome it? Aug 30 09:30:26 if you want to extend, you need to do it yourself Aug 30 09:30:33 create class that extends Application Aug 30 09:30:40 and override its onCreate() Aug 30 09:30:51 its called when application starts, before Activity starts Aug 30 09:31:01 or service or broadcastreceiver Aug 30 09:31:09 if its not already started Aug 30 09:31:18 then you provide the class in AndroidManifest Aug 30 09:31:21 i.e. http://www.devahead.com/blog/2011/06/extending-the-android-application-class-and-dealing-with-singleton/ Aug 30 09:32:16 hey , I am trying to add action , when app is about to exit , but how will i know the app is exiting, as evrything is added in addtoBackStack Aug 30 09:33:34 actually there is no way to tell when your app "exits". closing all activities doesnt exit your app Aug 30 09:34:02 youd need to somehow track manually if all activities are closed Aug 30 09:34:15 but technically that doesnt mean your app exited Aug 30 09:36:01 hm thanks Aug 30 09:42:42 Should I load AdRequest in my application? Aug 30 09:46:03 I mean in the global Application class Aug 30 10:33:32 i have an old samsung galaxy xcover, which has gingerbread, but i want to update the OS to something newer, how do i do it? Aug 30 10:34:01 is it even possible? Aug 30 10:34:26 in genymotion, what´s the typical way of accessing the host systems IP ? 192.168. … ? Aug 30 10:36:04 blippyJon: this is question more for #android-root Aug 30 10:36:35 blippyJon: you can check if there is cyanogenmod rom with newer android for this device Aug 30 10:36:43 ok sorry, i tried here because nobody answered me on android-root Aug 30 10:36:54 ok Aug 30 10:37:37 I swear to god, I can't even force gradle to cancel an operation Aug 30 10:37:52 How can this be used by Google?! Aug 30 10:38:47 oh got it : 10.0.3.2 is the ip Aug 30 10:39:22 Gradle is a joke gone too far Aug 30 10:40:00 VerbalKint: why Aug 30 10:40:16 tilerendering: it just sucks Aug 30 10:40:26 At least in my opinion Aug 30 10:40:40 hi Aug 30 10:40:40 i have a mobile phone with android and with no sd card, and when i try to download whatsup i get an error saying not unable to download it because there is no sd card. how can i download it to internal mobile phone memory? Aug 30 10:49:45 if i'm implementing tablayout, which support libraries do i need to import? Aug 30 10:51:46 If I wanted to make a simple little reminder app that basically looks up each reminder from a file and checks if the time >= the current reminder it's checking, is it best to use a service for this? Aug 30 10:52:08 JuliusN: The design lib for the tablayout, and probably support v4 for the viewpager Aug 30 10:53:46 is it a good idea to use a smartphone which only has gingerbread to develop apps? Aug 30 10:53:53 blippyJon: no Aug 30 10:53:57 throw it in the bin Aug 30 10:53:57 ok Aug 30 10:54:01 why? Aug 30 10:54:07 I'm joking Aug 30 10:54:14 you really should be targetting 4.3 and above Aug 30 10:54:18 ok Aug 30 10:54:20 some would argue even higher Aug 30 10:54:26 Depends on your market though Aug 30 10:54:31 ok Aug 30 10:54:50 I think gingerbread is still popular in India, though someone here would know better than I would Aug 30 10:55:16 yea well im not in india so, i better get a newer cellphone Aug 30 10:56:16 i have a mobile phone with android and with no sd card, and when i try to download whatsup i get an error saying not unable to download it because there is no sd card. how can i download it to internal mobile phone memory? Aug 30 10:58:03 what's the syntax for adding support libraries in the gradle file? i feel like i'm asking questions that should be covered by the developer documentation, but can't find anything in here https://developer.android.com/topic/libraries/support-library/setup.html Aug 30 10:58:56 compile 'com.android.support:design:24.1.1' in the dependencies block of your app's build.gradle Aug 30 10:58:57 the documentation only gives an example Aug 30 10:59:45 what determines the dependency value? i'm especially confused by the numbers at the end of the string Aug 30 11:00:04 It's the version number of the dependency Aug 30 11:00:30 So in case of my example it will include the 24.1.1 version of the design support library Aug 30 11:00:35 is there some connection between the version number and the deployment target Aug 30 11:03:02 i mean, how do i know which version to choose Aug 30 11:10:37 i have a mobile phone with android and with no sd card, and when i try to download whatsup i get an error saying not unable to download it because there is no sd card. how can i download it to internal mobile phone memory? Aug 30 11:10:59 I believe this is done in the settings Aug 30 11:11:20 Hi. my phone does not have NFC, what is the usual workflow with it? With an App using QR for something it's like this: open any qr-reader app -> Scan QR -> link to my website with extra arguments for the actual identification if the app is installed -> redirect to playstore -> install app -> scan QR code again -> extract url arguments instead of opening a browser -> profit. Aug 30 11:11:35 Are there universial NFC reading apps? Or does it even work without any app open? Aug 30 11:11:57 Marlinski: where? Aug 30 11:12:21 VonBlume: please use #android for help with your device, this channel is for app dev Aug 30 11:14:39 should the first integer of the library version number be the same as target sdk version? Aug 30 11:14:56 The NFCDEF at least has a URI definition. hm Aug 30 11:17:09 JuliusN: Yes, the versioning strategy of the support library is that your compile sdk should be >= the first integer. Other than that you select your version like any other dependency Aug 30 11:17:50 i don't know how to select the version Aug 30 11:19:29 Get the latest, then test before upgrading Aug 30 11:22:36 i tried to look for the latest installed versions in the sdk manager, but couldn't find anything pointing to 'v7' or 'v4' Aug 30 11:23:55 All support libraries are in the support repository Aug 30 11:31:03 I'm not sure if there's a better room, I'm looking for an IRC room for the android emulator development group? Aug 30 11:43:27 Maybe the adt-dev mailing list? We don't develop emulators, we just use them :) Aug 30 11:43:45 so if i have support repository version 36 installed, how do i figure which v4 and v7 library versions to import? Aug 30 11:44:27 Your previous link has a list of all the support libraries, as well as a revision history Aug 30 11:45:59 i'm working around a bug in android that was introduced in Marshmallow, but fixed in 6.0.1 . Now I need to determine whether or not i'm running a version before 6.0.1 . How? I can check Build.VERSION.RELEASE but apparently sometimes it is "6.0" and sometimes it is "6.0.0" What is the proper way to determine this? Aug 30 11:47:07 SimonVT: so does the support repository automatically include the latest version? Aug 30 11:47:53 It's a maven repository, it includes all versions Aug 30 11:48:05 ok, that helps Aug 30 11:57:12 is everybody here slowly moving to slack? Aug 30 11:57:27 what's the difference between 'android support library' and 'android support repository' Aug 30 12:02:06 ventura, I haven't understood slack completely yet. Are there public channels for android-dev or something? Aug 30 12:02:09 Trying to take a screenshot but I get "remove failed: EACCES Permission Denied" , which I find strange given the fact that the method checks for permissions before beginning. http://pastebin.com/s4QgsTgs Aug 30 12:02:15 ventura, I thought it was just for internals Aug 30 12:04:57 anotheryou: first time I saw slack I thought “it is a IRC copycat”. but fore some reason, people are using… maybe vogue Aug 30 12:06:07 ventura, it's a bit sexier end therefore fine for internal communication. (you can send a file easily, some fancy stuff like remindes and group permissions) Aug 30 12:06:35 ventura, we switched because we used skype before and that skype p2p is a mess, messages get lost etc... Aug 30 12:09:09 anotheryou: agreed. for companies its a better option Aug 30 12:09:53 people here are using a lot the clean architecture pattern described by fernando cejas Aug 30 12:10:11 he implements its own thread pool instead of using intent service Aug 30 12:10:50 doesn’t it overflow the OS? because if three apps follow the same pattern, there will be three independent work queues Aug 30 12:16:11 i'm trying to read through android's support library documentation, but i just can't find any reference to correct version-specific library targets Aug 30 12:19:49 revision history doesn't tell me that Aug 30 12:22:43 what are the correct library paths to v4, v7 and design for sdk v23? Aug 30 12:23:51 JuliusN: http://androidxref.com/ Aug 30 12:24:24 you can choose the SDK version and search inside it Aug 30 12:25:43 i can only see os versions Aug 30 12:27:55 are the sdk's listed somewhere in there? Aug 30 12:36:35 can I change shape solid color programmatically? Aug 30 12:42:21 gdrc, ShapeDrawable? Aug 30 12:42:28 thanks. found it. Aug 30 12:42:34 I should google more, sorry Aug 30 12:42:37 :p Aug 30 13:09:15 Can proguard + its default optimization protect my app from tampering? Aug 30 13:10:53 Is it possible to set the max length of characters in an EditText to the actual width of the field? Aug 30 13:11:04 Can someone take my app, change stuff like admob IDs in it and repost it on Google Play? Aug 30 13:11:25 I mean, how hard is this? Aug 30 13:14:25 apps are signed Aug 30 13:14:47 decompiling is possible but that is why you use things like proguard Aug 30 13:14:52 I would not worry about it Aug 30 13:15:13 tx: thanks Aug 30 13:17:17 tx: it does seem that the ad units aren't in the decompiled resources Aug 30 13:17:46 Darn it. Spoke too soon. Aug 30 13:18:14 Why Google Play is called "Play" if only a part of the application listed there are games? Aug 30 13:18:31 arancio: you can play with apps Aug 30 13:19:26 I have created app named "SettingsTestxy"(android:label in AndroidManifest.xml). Project directory is named "SettingsTest2" I have 2 ProductFlavors free & pro - http://pastebin.com/g38fsqLF. each flavour has it's own manifest in "SettingsTest2/app/src/free||pro" - http://pastebin.com/10RTFKai. In project view (alt+1) set to Android - only free manifest is accessible. By runnig app (shift+f10) only free version is installed. Aug 30 13:19:26 By running gradle from cmd "gradlew assemble" - it creates proper .apk in "app/build/outputs/apk". Both free & pro can be installed together only by "gradlew installFreeDebug installProDebug" from cmd. Aug 30 13:19:26 Installed free version accessed from device settings is named SettingsTest-free" for free ver. and "SettingsTest" for pro. Both app in device app list are named "SettingsTest". Aug 30 13:19:52 tx: You can play with cars too but car stores aren't called "play" Aug 30 13:20:16 well Aug 30 13:20:19 take it up with the president Aug 30 13:28:17 if the operating system does not limit the quantity of thread pools, what does happen if 10 apps create its own thread executor with 10 worker threads? Aug 30 13:33:16 Hi guys! So how many of you use Mortar for solving configuration changes realted issues like surviving network requests and handling the results? Is it worth learning so I could forget about this headless fragments hack? Aug 30 13:34:16 https://developer.android.com/studio/build/build-variants.html "You can change the build variant to whichever one you want to build and run—just go to Build > Select Build Variant.." - ok this solves one part of the problem Aug 30 13:36:30 ventura: if all threads of all apps effects pure computations without any blocking operation, all of them will work very slowly. That's what would happen. Aug 30 13:37:04 ventura: please read "if all threads of all apps perform" etc. Aug 30 13:37:17 arancio: thx Aug 30 13:38:12 arancio: in my head, implementing a thread pool manually in android does not make sence. the OS should manage it Aug 30 13:38:48 ventura: if the perform network operations, for example, it's still possible that most of them will be sleeping most of the time, like when you have lots of downloads active in a browser Aug 30 13:38:54 they Aug 30 13:40:40 yes, but still i would use AsyncTask.THREAD_POOL_EXECUTOR Aug 30 13:40:42 ventura: manually implementing a thread pool rarely makes sense in any platform because most certainly the platform developed were hired as platform developers because they know how to manage a thread pool better than you Aug 30 13:40:56 platform developers Aug 30 13:41:01 arancio++ Aug 30 13:41:27 no! i should make my own thread pool because i know better my app Aug 30 13:42:07 I don't know Android's pool but often thread pools can be customized with parameters. Aug 30 13:42:25 arancio: intentservice has one worker thread Aug 30 13:42:45 THREAD_POOL_EXECUTOR can execute up to 5 threads Aug 30 13:43:26 but if you need more than this at the same app, probably you are doing something weird Aug 30 13:43:33 at the same time Aug 30 13:44:17 Ashiren: your application probably falls into one of a few categories of applications as far as threading is concerned. Platform developers know about your applications (threading-wise) before you write it. 99.9% of the times, I mean. Aug 30 13:44:42 There can be exceptions to everything Aug 30 13:48:58 exacly Aug 30 13:51:12 Are you suggesting that every app out there should limit themselves to 5 threads, because that's what google decided for THREAD_POOL_EXECUTOR ? Aug 30 13:51:50 no, i would simply consume thread_pool_executor for data parallelism Aug 30 13:51:57 @SimonVT Aug 30 13:52:20 if i need something that is CPU intensive, probably i would write in C and use the GPU Aug 30 13:52:20 For what tasks? Aug 30 13:53:09 orignal context: a lot of people are implementing thread pool inside the app for running use cases Aug 30 13:53:09 Remember AsyncTask, and thus THREAD_POOL_EXECUTOR , is not meant for long running tasks Aug 30 13:53:52 if 5 apps has its own executor with 5 threads, we would have 25 workes (yes, i know they would be idle most of time) Aug 30 13:53:59 Well, of course, you wouldn't want network tasks and ui tasks (e.g. loading data from a local cache) running on the same thread pool Aug 30 13:54:16 THREAD_POOL_EXECUTOR is not shared between apps, that's already the situation Aug 30 13:58:01 really? i thought it was a static attribute in AsyncTask that required synchronized access Aug 30 13:59:10 Each app run in their own process and vm Aug 30 14:00:01 5 threads wouldn't even remotely be enough for the hundreds of apps users have on their devices Aug 30 14:00:05 It's not even enough for 1 app Aug 30 14:05:13 hello. Aug 30 14:08:04 no, i am not questioning about the thread quantity Aug 30 14:08:17 only the app create the executor instead of using the one provided by the SO Aug 30 14:08:43 i wonder if the SO would not manage better the garbage collector, for example Aug 30 14:09:10 or does not allow create a pool that is too big Aug 30 14:09:14 What do you mean? Aug 30 14:11:29 i have some oldish code (grabbed directly from api 24 platform internals) which used to run fine as instrument tests ... haven't run them in a while, but not from gradle 'gradle connectedCheck' gives me : Aug 30 14:11:32 No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations). Aug 30 14:12:01 so, the test runner is not being initialized correctly. anybody know where to set that, for old junit 3 stuff - not using the support libs Aug 30 14:12:22 this all used to work until recently, i haven't touched this code base in a while Aug 30 14:19:45 oh InstrumentationTestRunner was deprecated in 24 Aug 30 14:24:02 doesn't matter that it's deprecated, it's still there and works fine Aug 30 14:27:55 deprecated just means you should (ideally) find an alternative method. Aug 30 14:28:13 not that you MUST find an alternative method Aug 30 14:30:07 hello Aug 30 14:30:14 hello Chais Aug 30 14:30:32 I've got some display issues with my quick/power widget fpr the app I'm developing. I've placed a file called widget.xml into res/layout directory. This file has a relative layout parent, if ypu want I could paste it on a pastebin service. I'm trying to figure out why the widget is bad displayed (I mean size and items). Aug 30 14:30:47 sorry Chais that wasn't aimed at you :) Aug 30 14:35:00 http://hastebin.com/azonikahiz.avrasm Video can not be played error. Can anyone help me figure out why this is not working? I have INTERNET permissions in manifest. Aug 30 14:35:26 I tested the rtsp address on VLC player, and it works Aug 30 14:36:15 Anyone going to DroidCon London 2016? Aug 30 14:38:04 this is widget.xml: http://pastebin.com/US08sNnc , and this the screen with my widget: http://m.imgur.com/QtmHmX4 Aug 30 14:38:46 How could I fix the xml in order to get the widget like the top widget either the bottom widgets? (as size and content size/position and visibility) Aug 30 14:38:58 Any ideas? Aug 30 14:39:14 hey guys, i am in need of some help with what should a relatively simple layout goal in Android. http://pastebin.com/bHfiv1gL Aug 30 14:39:33 the goal here is simple, using relative layout i want to ensure that the given imageview is centered and pressed to the top of the parent layout Aug 30 14:39:57 however, each time i run this, the result is the same. the image is hugging the left margin and is centered vertically Aug 30 14:40:06 ohh Aug 30 14:40:08 ugh Aug 30 14:40:11 xximjasonxx: I've got a similar issue Aug 30 14:40:16 please dont pay attention to me :( Aug 30 14:40:24 its the alignment of the fragment i think :) Aug 30 14:40:39 well the frame that is holding the fragment, i didnt check t hat Aug 30 14:41:08 no, its set to match_parent/match_parent Aug 30 14:41:12 so the issue persists Aug 30 14:41:25 cristian_c: what does your screen look like? Aug 30 14:41:46 xximjasonxx: I've linked imgur screenshot above Aug 30 14:42:03 cristian_c> this is widget.xml: http://pastebin.com/US08sNnc , and this the screen with my widget: http://m.imgur.com/QtmHmX4 Aug 30 14:43:56 http://screencast.com/t/j2P2pdQUBPuJ Aug 30 14:44:03 basically that is what mine looks like Aug 30 14:44:28 ok Aug 30 14:45:06 it appears that no one is out there listening at the present moment, to the Google machine :) Aug 30 14:45:56 xximjasonxx: I think you've to wait for Aug 30 14:46:00 and hope Aug 30 14:46:34 xximjasonxx: wait, I try to look at your issue Aug 30 14:46:43 I'm trying , I'm not an exoert Aug 30 14:46:44 there is that but, never pin all your hopes on IRC :) Aug 30 14:46:46 expert Aug 30 14:47:12 xximjasonxx: ok , but i'be read the doc and google, without results Aug 30 14:47:19 so, irc ia my hope Aug 30 14:48:54 cristian_c: sincerely, I could not understand your original question Aug 30 14:49:43 xximjasonxx> however, each time i run this, the result is the same. the image is hugging the left margin and is centered vertically Aug 30 14:50:05 xximjasonxx: wait, I'm looking for Aug 30 14:51:35 arancio: I've improved the widget, making the bottom stripe visible and with the right thickness Aug 30 14:51:51 so weird Aug 30 14:52:02 it is only ImageView which shows this behavior Aug 30 14:52:13 if I use a textview it defaults to the appropriate position Aug 30 14:52:58 arancio: but i can't get the widget smaller. If you look at the left widget, it's smaller than mine Aug 30 14:53:38 even if i force centerVertical to be false, it still centers vertically Aug 30 14:54:23 xximjasonxx: left margin of the homescreen? Aug 30 14:54:34 within the app Aug 30 14:54:38 'higging the lefr margin' Aug 30 14:55:11 xximjasonxx: I've only looked at http://screencast.com/t/j2P2pdQUBPuJ Aug 30 14:55:19 as the screenshot i sent (http://screencast.com/t/j2P2pdQUBPuJ) depicts. We have the image which is defined in the xml for a fragment Aug 30 14:55:32 that fragment is loaded into the activity through the fragment manager Aug 30 14:55:47 cristian_c: I could not imagine you wanted to make your widget to look like the left one displayed in that picture. How can people help you if they don't understand your problem? Aug 30 14:55:51 ImageView, for some reason, has decided that it wants to be cetered vertically Aug 30 14:56:36 arancio: cristian_c> How could I fix the xml in order to get the widget like the top widget either the bottom widgets? (as size and content size/position and visibility) Aug 30 14:57:10 arancio: ok, I'll write better this part Aug 30 14:57:16 ok, it has to be something else Aug 30 14:57:19 its not the layout Aug 30 14:57:27 cant be, i just changed to a linearlayout and the same result Aug 30 14:59:08 cristian_c: as I already said, that sentence is quite obscure. I probably won't be able to help you but maybe someone else can. Once they can understand your problem. The better you express yourself and the more precisely you state your problem, the more chances you have to receive help. Some people could legittimately not even use time to tell you that your answer is not understandable. They may just ignore it. Aug 30 14:59:41 "...your question is..." Aug 30 15:00:34 lol i seriously feel like i am about to lose my mind :) Aug 30 15:00:34 not fun Aug 30 15:01:16 my question is: I can't get the widget smaller. If you look at the left widget, it's smaller than mine. How could I get the desidered result? Aug 30 15:03:33 xximjasonxx: ok, I've read all your speech Aug 30 15:03:49 just figured out what the problem us Aug 30 15:03:51 scaletype :) Aug 30 15:04:03 xximjasonxx: can you send a real screen of the issue? Aug 30 15:04:08 cristian_c: probably your widget size will be controlled by the size of the content, margins and padding. Did you try to act on them? (I'm sorry if this suggestion is trivial) Aug 30 15:04:11 a screenshot made by you Aug 30 15:04:19 http://screencast.com/t/IcjnwMYehd Aug 30 15:04:28 that illustrates the issue pretty clearly Aug 30 15:04:31 trying to resolve it Aug 30 15:04:37 arancio: yeah, I've acted on them, many times and in different modes Aug 30 15:04:44 *with Aug 30 15:04:50 xximjasonxx: ok Aug 30 15:05:09 xximjasonxx: ok, now it's clear, thanks Aug 30 15:05:26 cristian_c: so you can't get a widget smaller than that, even removing the content entirely? Aug 30 15:06:02 arancio: this is the reason because I say that is much difficult, I don't find examples in the google android doc Aug 30 15:06:20 cristian_c: did you try to remove the content or part of the content? Aug 30 15:06:39 arancio: my last attempts has been just remove the padding and margin contents Aug 30 15:06:50 *attempt Aug 30 15:06:58 cristian_c: but did you try to remove the content or part of the content? Aug 30 15:07:14 it's a difficult situation for me (about development) Aug 30 15:07:36 cristian_c: did you make a widget containing only a TextView with only one letter and nothing else? Aug 30 15:07:49 arancio: contents is composed by three items, mainly: a imageview, a button and an imageview Aug 30 15:07:57 one day, one day i hope android allows me to do this Aug 30 15:07:59 arancio: I'll try Aug 30 15:08:12 width="someWidth" height="wrap_content" and it figures out the content based on scale Aug 30 15:08:46 arancio: my item is a bit more complex, so it could appear quite different than the test widget you suggest Aug 30 15:08:48 when I say content, i mean the height, or the width Aug 30 15:08:58 arancio: but I'll try anyway Aug 30 15:10:58 xximjasonxx> the goal here is simple, using relative layout i want to ensure that the given imageview is centered and pressed to the top of the parent layout <-- the red panel ? Aug 30 15:11:09 ted panel = parent layout ? Aug 30 15:11:21 cristian_c: i appreciate your help, but i figured out the issue Aug 30 15:11:37 xximjasonxx: ehehe, sorry Aug 30 15:11:38 :D Aug 30 15:11:53 basically, wrap_content determines height (and width) based on the source image and not based on the scaled height with a defined width Aug 30 15:11:56 it was my mistake Aug 30 15:13:22 xximjasonxx: ok, congrata Aug 30 15:13:25 congrats Aug 30 15:13:30 :) Aug 30 15:26:08 hello Aug 30 15:26:43 i want to do it wrong and use cmake not as plugin - is that possible? Aug 30 15:39:52 i guess this one works: https://github.com/taka-no-me/android-cmake ? Aug 30 15:39:58 <_Auron_> Anyone here have experience with JNI? I'm having issues getting an array of strings from a java proxy interface Aug 30 15:40:37 <_Auron_> Getting the error: AndroidJavaException: java.lang.NoSuchMethodError: no static method with name='getLength' signature='(L[Ljava.lang.String;;)I' in class Ljava.lang.reflect.Array; Aug 30 15:41:03 no social skills, no network, no money. The appmarket is my best bet? Create a bestseller? Aug 30 15:49:52 _Auron_, obviously, array has no such thing Aug 30 15:50:53 pffffffft, lolno Aug 30 15:51:41 <_Auron_> I'm not even calling getLength Aug 30 15:51:54 <_Auron_> that is spit out from the parameter being passed into the function Aug 30 15:52:37 _Auron_, yeah I think it's as simple as pfn says - there is no method getLength() in an array. There's size() which may be what you're looking for Aug 30 15:52:49 length Aug 30 15:52:54 and it's a field Aug 30 15:53:02 sounds like you're calling a function w/ an object it doesn't like then, which it expects a getLength() method Aug 30 15:53:13 and thanks to JNI you're doing some sort of awful ducktyping that's failing :P Aug 30 15:53:27 <_Auron_> I'm doing this in Unity3D using its JNI calls Aug 30 15:53:40 <_Auron_> everything else works fine, but I guess string[] isn't supported by it as a parameter. Aug 30 15:53:41 I don't know jack about unity, unfortunately Aug 30 15:54:00 but you're clearly passing something it expects to have a getLength method Aug 30 15:54:11 <_Auron_> Yeah, that's the unfortunate thing.. unity people know nothing about JNI and barely anything about Android, and android devs don't know anything outside normal use that isn't in a game engine. Aug 30 15:55:47 so String[] is an array of strings, which I would expect something expecting a String to complain about Aug 30 15:56:19 that may be where you're confusing it Aug 30 15:57:27 but JNI on Android is same as JNI elsewhere.. Aug 30 15:59:17 pfn: why not? Aug 30 16:00:38 i think he refered this method: https://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Array.html#getLength(java.lang.Object) Aug 30 16:01:18 Why would my app be closing when I press the action bar back button from an activity? I've never had to add code to handle it in any other app, it just naturally goes through the backstack Aug 30 16:01:28 but somehow now it is closing my app Aug 30 16:02:01 which could be called like Array.getLength(myArray); Aug 30 16:02:34 but there is also myArray.size() and myArray.length around Aug 30 16:04:11 <_Auron_> For better context: http://pastebin.com/aXGzKBPQ Aug 30 16:05:20 morfin, yes, jni on android is exactly the same as on jvm Aug 30 16:05:26 public api, anyway Aug 30 16:05:40 which is why I always wonder why jna isn't more popular Aug 30 16:06:23 _Auron_, sounds like unity doesn't support arrays Aug 30 16:06:27 try again Aug 30 16:07:22 WeAreOneMind, it always closes Aug 30 16:07:51 Every other app i've made it navigates back to the previous activity Aug 30 16:07:53 going back through backstack = close Aug 30 16:07:54 <_Auron_> it does, somewhat. ex: https://docs.unity3d.com/ScriptReference/AndroidJNI.FromObjectArray.html Aug 30 16:07:54 so getLength is being called implicitly? Aug 30 16:08:09 i mean by Unity itself Aug 30 16:08:12 morfin, probably automatic translation from. c# Aug 30 16:08:12 <_Auron_> seems so Aug 30 16:08:26 <_Auron_> so I may have to get really dirty with this Aug 30 16:08:28 hm Aug 30 16:08:29 like GetLength to getLength Aug 30 16:09:37 pass it as AndroidJavaObject and not string[] Aug 30 16:10:12 <_Auron_> pass from the java side or write the proxy interface on the C# side as the accepting parameter? Aug 30 16:10:21 <_Auron_> because the latter gives the same exact error Aug 30 16:10:35 not AndroidJavaObject[] Aug 30 16:10:39 Hello, question about Android Studio : admitting i am line 40 of my page. I click on function use. Clicking on it brings me to the declaration of the function, which is line 1500. Is there a shortcut to get back to the line 40 ? To resume, a shortcut to go on the last "place" i were... Aug 30 16:10:45 just AndroidJavaObject Aug 30 16:10:49 <_Auron_> yeah I know, tried that. same exact error Aug 30 16:10:55 I doubt it Aug 30 16:11:11 unless you did something else to coerce it to an array Aug 30 16:11:15 weird Aug 30 16:11:19 <_Auron_> AndroidJavaObject is an IntPtr to the array object, I know how that works. Aug 30 16:11:21 or called getLength yourself Aug 30 16:11:32 <_Auron_> first line I have on the C# side is a log so I'm not trying to do anything to the array yet, and that log output is not called Aug 30 16:11:39 find_package( Threads REQUIRED ) this fails for some reason hmmm Aug 30 16:11:53 * pfn shrugs Aug 30 16:11:57 go ask unity people Aug 30 16:12:01 mko: If you're on a mac, you can hit Cmd+[ or Cmd+] Aug 30 16:12:27 That takes you to the last place your cursor was Aug 30 16:12:31 what Android use for threading btw? Aug 30 16:12:33 <_Auron_> I've tried, no one has responded. Googling around the best I can find related to this is passing a string[] -> Java, not the other way around. Aug 30 16:12:48 BlotCoo: thx for answer, but i am not on a mac ;) Aug 30 16:13:03 Heh, normally I'm a Windows user, but I've had to adjust at work Aug 30 16:13:06 morfin, standard jvm threads Aug 30 16:13:21 no, i mean when you go native Aug 30 16:13:35 You could look up the keymap for last cursor position and either set one if there isn't one, or find out what it's set for your setup. Aug 30 16:13:54 i am trying to build native program with only CMake (not trought ndk-build) Aug 30 16:13:57 some derivative of pthreads Aug 30 16:15:02 ah Aug 30 16:15:16 what else would it use Aug 30 16:16:22 well, i suspected something like that Aug 30 16:18:34 interesting Aug 30 16:20:02 cmake ../ -DCMAKE_TOOLCHAIN_FILE=../android.toolchain.cmake -DANDROID_NDK='D:\Data\android-ndk-r12b' -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="armeabi-v7a with NEON" -G "MinGW Makefiles" -DCMAKE_MAKE_PROGRAM="D:\msys2\mingw64\bin\mingw32-make.exe" -DANDROID_NATIVE_API_LEVEL='android-17' worked for me - at least i got a binary which even has rtti and exceptions support Aug 30 16:24:03 <_Auron_> arrays as parameters in a JNI proxy class may be broken in Unity's implementation Aug 30 16:24:13 <_Auron_> so I'll see about working around that Aug 30 16:29:26 guys - gnustl_static have support for C++14? Aug 30 16:35:06 i'm trying my hand at PLay Games Services. Now I want to automatch 2 players. So they both instantiate a game. I'm having some trouble understanding what happens to actually match these players up. One new game will be 'removed' ? Aug 30 16:41:51 morfin: I don't think anything in the NDK has full C++14 support yet, but the closest would be libc++ Aug 30 16:42:16 danalbert: Aug 30 16:49:02 <_Auron_> so yeah, seems storing the string[] as a public member, passing in the receiver parent object as a parameter, then doing this in C# for Unity works: AndroidJavaObject array = receiverObj.GetStatic("keyvalues"); string[] dataList = AndroidJNIHelper.ConvertFromJNIArray(array.GetRawObject()); Aug 30 16:49:28 well, at least int test =666; auto foo = [baz = test]{std::cout << baz;}; worked for me Aug 30 16:54:37 Is this the correct and latest way to resize AdMob SMART_BANNER ads on orientation change? http://tech.chitgoks.com/2014/01/29/how-to-auto-adjust-google-admob-container-on-orientation-change-in-android/ Aug 30 16:57:44 kroot, seems like NDK use pretty old GCC 4.9 so yes i think it has only partial C++14 support Aug 30 16:58:30 morfin: well, you can use clang in the NDK... Aug 30 16:59:18 morfin: use NDK_TOOLCHAIN_VERSION := clang Aug 30 17:02:11 NDK has Clang 3.8 Aug 30 17:02:17 And has a decent C++14 support. Aug 30 17:02:39 Not everything is in libc++, but we also didn't have any issues with lacking stuff Aug 30 17:02:40 nope - not for that API level(17) Aug 30 17:02:45 (With exception of string stuff.) Aug 30 17:02:52 morfin, what are you talking about_ Aug 30 17:04:08 ah it's called not arm-linux-androideabi-clang Aug 30 17:06:06 hi Aug 30 17:06:31 i update my design library to 24 and the attribute colorControlNormal is not in my EditText styles, anybody can help me? Aug 30 17:12:59 i see now why it was a bad idea to use CMake :) Aug 30 17:14:10 it can't detect clang under toolchains/llvm directory and not listing it as avaliable Aug 30 17:22:20 i update my design library to 24 and the attribute colorControlNormal is not in my EditText styles, anybody can help me? Aug 30 17:22:34 t0th_-_ you just asked that Aug 30 17:33:00 Why can I use closures, but not AutoCloseable? Aug 30 17:39:18 huh http://www.theverge.com/2016/8/30/12712722/google-new-nexus-phones-brand-name-change Aug 30 17:40:21 ""You’ll see us hopefully add more features on top of Android on Nexus phones," he said at the Recode Code Conference. " i'd rather just have the plain thing, and add what i want from store ... Aug 30 17:45:00 Is constantly building an AdRequest bad? Aug 30 17:47:21 Is Google preventing me from refreshing an Ad if the interval between them is less than 60s? Aug 30 17:47:36 i think it's good g00s, i'm so tired of some AOSP fan-boy Aug 30 17:48:33 i don't much, not buying another android device until it has 3 year updates Aug 30 17:48:49 *guaranteed updates Aug 30 17:48:55 AOSP isn't 1:1 with nexus devices either. The bigger thing is nexus (with one exception I can think of) means no carrier modification, direct updates, and unlockable if that gets you happy Aug 30 17:49:02 * breaking news: g00s next phone is an iphone * Aug 30 17:49:09 adq :D Aug 30 17:49:11 ;) Aug 30 17:49:13 Windows Phone Aug 30 17:49:19 make it so i have to deal with carrier BS? nope. Aug 30 17:49:39 i liked WP but MS is really struggling there so .. Aug 30 17:49:55 i saw BSOD on WP.. Aug 30 17:49:59 the division might not survive long enough for the 3 years of updates? Aug 30 17:50:18 technically, i don't really find a phone that useful. i think people born before 1985, before the internet existed, are easyily OK without having one at all times Aug 30 17:50:28 i mean smartphone Aug 30 17:50:30 interesting how to kernel panic Android hmm Aug 30 17:50:36 nope Aug 30 17:51:12 g00s: oh, my god, like, how, can you, like, what do you call it, survive without messaging?! Aug 30 17:51:29 don't use any of that crap ha Aug 30 17:51:37 you don’t sms? Aug 30 17:51:50 don't even use any google services except gmail, little g+ for my app's page Aug 30 17:52:15 pretty much just maps + gmail. WP had great offline maps ... Aug 30 17:52:38 but Here+ was sold to somebody Aug 30 17:54:50 i like the idea of not replacing a phone every 2 years, just my concern i have about environmental waste. Aug 30 17:55:38 i think at this point, except for VR they have reached a point like the PC , improvements will be very incremental Aug 30 17:55:57 maybe battery 2x in a few years with lithium air or whatever Aug 30 17:56:42 will I make a lot of money if I succeed to make the next flappy-bird? Aug 30 17:56:54 or is that time long gone? Aug 30 17:56:59 long gone Aug 30 17:57:04 what, why? :O Aug 30 17:57:16 cause everyone else and their dog is trying to do the same thing Aug 30 17:57:54 why does everyone have to saturate every market D: Aug 30 17:58:00 money Aug 30 17:58:45 seems like i need something more that just plain compiler detection Aug 30 17:58:56 pffffffft some links, enjoy https://www.reddit.com/r/androiddev/comments/4y2i19/anyone_here_makings_apps_on_the_side_and_making/d6kns7m Aug 30 17:59:01 so you guys aren't surviving on app-making? Aug 30 17:59:13 read the vision mobile stuff especially, hard data Aug 30 17:59:14 thanks g00s Aug 30 17:59:21 you'll have to register Aug 30 17:59:24 but its free Aug 30 17:59:35 the easiest way to survive on app making is to sell your talents to companies that want apps Aug 30 18:00:12 g00s: I heard that you must pay a 1-time fee for a dev-account, no? Aug 30 18:00:21 yup. $25 Aug 30 18:00:22 s73v3r: you're breaking my dream of being independent, bro Aug 30 18:00:23 yes Aug 30 18:00:23 i just noticed that CMake detects only GCC properly but ignores clang at least because 1. it glob *-gcc${TOOL_OS_SUFFIX} 2. It assume binary executable contains platform name which is not true for clang(it's just clang.exe for me) Aug 30 18:00:43 VerbalKint: I’m not. Reality is Aug 30 18:00:57 s73v3r: and I need a dev account in order to publish apps? Are you allowed to add 365 apps / year? Aug 30 18:01:19 you are, but if I were them, I’d shut your account down for spamming Aug 30 18:01:22 morfin: we do have an official cmake toolchain now, you know Aug 30 18:01:44 s73v3r: but they won't though? Aug 30 18:01:46 It's based on the one you linked earlier, but we definitely test it with clang for current NDKs Aug 30 18:01:48 they might Aug 30 18:01:57 what the hell are you doing where you’re adding an app a day? Aug 30 18:02:30 danalbert, you mean that "plugin"? Aug 30 18:02:37 s73v3r: 1 creative app per day Aug 30 18:02:42 Yes? Aug 30 18:02:44 not gonna happen Aug 30 18:02:49 idk what the sdk manager calls it Aug 30 18:02:50 http://tools.android.com/tech-docs/external-c-builds Aug 30 18:02:51 pffffffft: how old are you? Aug 30 18:02:55 s73v3r: 1/week? Aug 30 18:02:56 morfin: yeah, that Aug 30 18:02:57 VerbalKint: 26 Aug 30 18:03:05 VerbalKint: why? Aug 30 18:03:16 pffffffft: just curious :D Aug 30 18:03:20 i wanted to use cmake not trought that thing but directly Aug 30 18:03:26 You don't have to Aug 30 18:03:35 That's just a toolchain file Aug 30 18:03:55 Same as you were using above Aug 30 18:04:16 It'll probably be easier if you do let Studio sort it out for you though Aug 30 18:04:18 VerbalKint: how old are you? Aug 30 18:04:25 pffffffft: 23 Aug 30 18:04:58 pfffffft: don’t think of it that way Aug 30 18:05:01 VerbalKint: take my advice and plan for the next 3 years. I'm sitting here, broke and without work experience. All I can do now is to flip burgers. Aug 30 18:05:07 instead, just take one or two concepts and refine them Aug 30 18:05:10 well, i went hard way because fixing CMake toolchain file is fun Aug 30 18:05:16 VerbalKint: even though I know the intel x86 manual by heart Aug 30 18:05:29 community college Aug 30 18:06:11 pffffffft: gonna listen to your advice :D Aug 30 18:06:27 morfin: as for C++14 support, clang will have full C++14 *language* support as long as you're using r11 or newer Aug 30 18:06:34 pffffffft, why do you know it by heart? Aug 30 18:06:49 morfin: you're right that GCC 4.9 didn't have C++14 support. It claims to, but it isn't actually the C++14 ABI, so you'll have interop issues Aug 30 18:07:08 (claims to in that `-std=c++14` works, their docs do mention the abi troubles) Aug 30 18:07:20 i see - clang-3.8 is pretty new - even has some c++1z Aug 30 18:07:31 Yep Aug 30 18:07:58 morfin: as for the library features, you're only going to get those from libc++, and from the current NDK beta at that Aug 30 18:08:06 (r13) Aug 30 18:08:38 And libc++ in r13 still carries the same "in progress" warnings as it does currently, but hopefully that's going to be fixed with r14 Aug 30 18:08:45 darken: because autism (not joking) Aug 30 18:09:16 darken: autism = gg, you lost the game. Will only realize when reality hits you hard. Aug 30 18:09:41 That's a sad attitude Aug 30 18:10:29 pffffffft: hey, Silicon Valley must have tons of high functioning autistics, so don't be gloomy Aug 30 18:11:03 yeah, this is one industry where that’s not much of a handicap Aug 30 18:11:17 pffffffft: and I'm actually being medicated right now for bipolar type 2 Aug 30 18:11:25 pffffffft: so you're not alone in being nuts Aug 30 18:11:28 Hi all according to this SO post OnItemClickListener is much better than onClickListerner http://stackoverflow.com/a/28295873 But what if I have more than 100 categories to go through it does not look good practice to copy/paste the setOnnItemClickListener in each of them, right? Aug 30 18:12:56 droidace, listadapter with callback + item type? Aug 30 18:14:21 droidace: you have over 100 different cell types? Aug 30 18:14:26 yes Aug 30 18:14:31 s7ever yes Aug 30 18:14:49 im not sure waht you mean @darken pls can you elaborate? Aug 30 18:15:04 how do you have 100 different cell types? Aug 30 18:15:52 droidace: regardless of how you came there, I’m gonna point you to one of the better articles on wrangling cell types: http://hannesdorfmann.com/android/adapter-delegates Aug 30 18:16:17 it’s recyclerview, but you can easily apply the concept to listview if that’s what you’re using Aug 30 18:17:53 s7ever this is what I meant: https://github.com/udacity/ud839_Miwok/blob/lesson-five/app/src/main/java/com/example/android/miwok/FamilyFragment.java#L133 Aug 30 18:18:17 but you said you have many different cell types Aug 30 18:18:18 ok how is recyclerview more efficient @ s7ever? Aug 30 18:18:29 that has been answered all over the internet Aug 30 18:18:55 OK Aug 30 18:18:59 and like i said, i don’t care which one you use, the concepts in the article can be applied to either Aug 30 18:19:00 it recyclesview i know Aug 30 18:19:44 but I dont see itemclicklistener in that blog? Aug 30 18:20:08 the blog is just about how to deal with lots of cell types Aug 30 18:22:00 droidace, so you have a list of items and if an item is clicked something happens, and you have many different types of items? Aug 30 18:22:53 does the same thing happen for every click? or should different things happen Aug 30 18:23:55 yes i would like to know why we use setOnItemClickListener method in each the 4 activity class? if we can use setOnClickListener method in 1 place (the WordAdapter class)? Aug 30 18:23:59 like this: http://pastebin.com/0jrvW4dk Aug 30 18:25:09 so the adapter is not responsible for what happens when you click Aug 30 18:25:52 so you’re displaying the same list in 4 activities? Aug 30 18:26:14 yes Aug 30 18:26:17 there is no adapter Aug 30 18:26:18 are you doing different things depending on which activity you’re in? Aug 30 18:26:29 there has to be an adapter Aug 30 18:30:49 oh man, jackson is a pain. Aug 30 18:48:54 Anyone here use google maps api before? Just inherited a new project. In release mode, the map loads, in debug mode it doesn't. Both debug and release are using the same api key. idk what could be the issue. Aug 30 19:01:33 eghdk: well theres both a release and debug key that can be made. Also, make sure your calling map.getMapAsync Aug 30 19:02:00 if your testing on an emulator make sure it contains the google apis Aug 30 19:09:17 hi guys... I am currently developing an app using firebase and its real time db for collaboration... in the app I have a list of transactions which I need to have synced between the users Aug 30 19:09:38 but as this list can get quite long, I don't want to fetch it completely all the time Aug 30 19:10:24 what is the most efficient way of finding out whether there are new entries since the last time I pulled data on a device... how to find out the new entries? Aug 30 19:11:06 doesnt firebase sync all the db by default? Thats like its main feature lol Aug 30 19:12:40 no all it shows online is listeneres to attach to some node in the db... I can ask to get an update once the content of hte node changes, or I can add listeners to children, e.g. list items and get notified once new ones are added, removed, moved or changed... Aug 30 19:12:59 but this is only while I have the listeners attached, of course... Aug 30 19:14:01 once the user closes the app for a while and opens it again I need to sync what others have added, changed or removed meanwhile... and I don't really see how to do this without fetching the whole list of transactions Aug 30 19:14:25 orbyt_: So the google maps keys are based off of signing keys? Aug 30 19:15:40 eghdk: pretty much, you need to grab the SHA-1 fingerprint of either the debug key or regular key Aug 30 19:16:23 I know if you create a signed apk with a debug key, the map wont generate, but im not sure if the other way around is also true Aug 30 19:17:42 orbyt_: Damn. That's annoying while debugging with a team. Aug 30 19:18:16 orbyt_: where do I give it the sha that I just generated off of my debugging signing key? Aug 30 19:18:48 pubic static long hair; Aug 30 19:27:14 has someone an opinion about this question : http://stackoverflow.com/questions/39226910/safety-and-reliability-of-sharing-data-between-android-activities-using-shared-o Aug 30 19:27:55 what are the problems that can arise if two activities use the same object ? Aug 30 19:28:17 and modify it ? Aug 30 19:28:35 is it possible to have stale state? Aug 30 19:28:45 evident: why did you use firebase instead of push notifications? Does your application directly interact with the database? Do you have a server layer between mobile application and database? Aug 30 19:30:10 eghdk: just google for the google maps api key Aug 30 19:30:27 it tell you what to do. But to answer your question its in the google console Aug 30 19:30:42 arancio: yes I directly interact with the database... users will add new transactions and several users can work on the same shared list of transactions... to do calculations right I need to make sure everything is in sync as missing transactions on some user's local client will result in wrong values... Aug 30 19:30:46 also i havent had any issues with it Aug 30 19:31:02 but I'm just checking out the offline capabilities chapter of firebase where they show a few nice things for that... Aug 30 19:31:49 evident: does it cost much? Aug 30 19:32:18 <``````````> joco42: you're asking questions that say "I'm fighting the API" Aug 30 19:32:32 :) Aug 30 19:32:48 ``````````: yeah Aug 30 19:32:50 true Aug 30 19:33:04 but to be honest i wanna try an FRP library Aug 30 19:33:08 sodium Aug 30 19:33:17 and i don't know what are the limitations Aug 30 19:33:30 with android Aug 30 19:33:45 sodium is solid for vanilla jvm Aug 30 19:33:52 <``````````> so like... sodium uses action-at-a-distance as a *feature*? Aug 30 19:33:58 but will it be reliable on android ? Aug 30 19:34:12 arancio: cost much? Aug 30 19:34:26 ``````````: action at a distance ? Aug 30 19:34:31 like eventbus ? Aug 30 19:34:34 try it Aug 30 19:34:38 evident: firebase. Isn't it a service from google? Aug 30 19:34:42 it is kind of a enhanced eventbus Aug 30 19:34:48 either that, or there’s RxJava and RxAndroid Aug 30 19:34:49 * arancio googles firebase Aug 30 19:34:50 <``````````> joco42: no, I mean using the exact same object in two different places in order to pass state Aug 30 19:34:52 for vanilla jdk Aug 30 19:35:27 <``````````> joco42: is that stack overflow question you? Aug 30 19:35:31 <``````````> and is it what you're trying to do? Aug 30 19:35:31 ``````````: ahh... i don't know how sodium is implemented Aug 30 19:35:33 <``````````> also, what's C? Aug 30 19:35:34 yeah its me Aug 30 19:35:46 C is just an object Aug 30 19:35:53 <``````````> but what is it? Aug 30 19:35:59 accessible from A and B Aug 30 19:36:03 activities Aug 30 19:36:07 <``````````> since you're probably not using the interface of Object Aug 30 19:36:19 <``````````> there's not much there to work with Aug 30 19:36:24 it can be for example MyObject Aug 30 19:36:29 <``````````> no, joco42 Aug 30 19:36:36 <``````````> I'm not asking you how, I'm asking what it is Aug 30 19:36:45 arancio: right, it's a service from google... basically free, paying depends on how much traffic you have etc... but for a lot of projects, it should be free for a while Aug 30 19:37:03 <``````````> why are you trying to share some state C between activities A and B by using the exact same object instance? Aug 30 19:37:04 right, its class C { } Aug 30 19:37:17 yes Aug 30 19:37:22 <``````````> joco42: I am asking you why Aug 30 19:37:24 ``````````: to pass state Aug 30 19:37:27 <``````````> and all you keep saying is how or "yes" Aug 30 19:37:28 <``````````> .... Aug 30 19:37:30 to communicate Aug 30 19:37:34 :) Aug 30 19:37:37 <``````````> yo..... Aug 30 19:37:41 evident: firebase flame (2.5 GB max) is $25/month. Above 2.5 GB is "pay as you go" Aug 30 19:37:52 ``````````: the goal is to pass state Aug 30 19:37:56 <``````````> joco42: Aug 30 19:37:59 evident: but you can develop and test an application for free Aug 30 19:38:08 <``````````> WHAT state is being passed for WHAT REASOIN Aug 30 19:38:46 <``````````> like.... I keep asking you what goals you have, and you keep answering with how you'd like to tackle those goals Aug 30 19:38:55 ``````````: the reason is that i want to update the underlying model Aug 30 19:39:01 in an MVP pattern Aug 30 19:39:12 or MVC Aug 30 19:39:14 <``````````> in an MVP pattern, data flows in one direction Aug 30 19:39:31 has anyone used this? https://github.com/kejunxia/AndroidMvc Aug 30 19:39:43 ``````````: ```````` was taken? Aug 30 19:39:49 C is the model Aug 30 19:39:51 <``````````> arancio: all the other ```'s were taken Aug 30 19:40:00 bad luck Aug 30 19:40:12 <``````````> joco42: what you're asking to do is considered a hilariously bad idea, buit Aug 30 19:41:00 ``````````: yeah...probably...i am not such a great expert in android Aug 30 19:41:03 <``````````> you can get away with using a global object cache to make sure you always grab the same item Aug 30 19:41:36 aham... do i need to synchronize ? Aug 30 19:41:38 <``````````> but you should look into using someone else's persistence stuff Aug 30 19:41:58 what happens if the activities are in different processes ? Aug 30 19:42:11 persistence stuff ? Aug 30 19:42:15 do you actually have this situation? Aug 30 19:42:18 <``````````> like an ORM or something Aug 30 19:42:22 ahh Aug 30 19:42:26 orm Aug 30 19:42:27 i see Aug 30 19:42:34 s73v3r: situation ? Aug 30 19:42:35 yeah Aug 30 19:42:41 <``````````> the way you usually share state is by using some persistence mechanism that lives outside the context of the app instance Aug 30 19:42:43 what’re you doing? Aug 30 19:42:43 i am suffering with intents Aug 30 19:42:54 ``````````: i see Aug 30 19:42:56 <``````````> ie: an SQLite database or with SharedPreferences Aug 30 19:43:19 <``````````> joco42: also, see this article https://en.wikipedia.org/wiki/Action_at_a_distance Aug 30 19:43:30 is RXJava typically used alongside MVC? Aug 30 19:44:11 ``````````: right.... i actually wonder, when is it so that two activities are in different processes ? Aug 30 19:44:47 is it so that one application is always in the same process ? Aug 30 19:45:04 so you don’t actually have that issue that you’re trying to solve for? Aug 30 19:45:17 <``````````> joco42: they aren't Aug 30 19:45:29 s73v3r: i have two activities Aug 30 19:45:37 that’s not what I asked Aug 30 19:45:39 but i don't know if i have a problem or not Aug 30 19:45:46 hence the question Aug 30 19:46:00 <``````````> the problem is that you keep telling us what you did, not what you want to have when you're done Aug 30 19:46:09 when is it safe to pass state via an indermediate object Aug 30 19:46:15 ahh Aug 30 19:46:19 <``````````> instead think more about what you want to have when you're done working on all this, not what the code in front of you looks like Aug 30 19:46:29 i see Aug 30 19:46:32 good point Aug 30 19:46:32 <``````````> joco42: passing state with objects is fine Aug 30 19:46:38 <``````````> but passing state *backwards* is not Aug 30 19:46:46 hmm Aug 30 19:46:49 <``````````> pass state by calling methods Aug 30 19:46:54 yeah Aug 30 19:46:56 <``````````> not by modifying fields that other stuff can watch Aug 30 19:47:24 hmmm Aug 30 19:47:27 i see Aug 30 19:47:39 lemme check it in... Aug 30 19:47:41 <``````````> if you save the object fields to SharedPreferences, you can retrieve them from any Activity Aug 30 19:47:44 <``````````> and update them from any Activity Aug 30 19:48:30 <``````````> https://developer.android.com/training/basics/data-storage/shared-preferences.html Aug 30 19:49:17 here are the two activitiies : https://github.com/jhegedus42/scala-android-playaround/blob/master/src/main/scala/com/mypackage/test/sample.scala Aug 30 19:49:28 hmm Aug 30 19:49:36 that is a good point, thanks `````````` Aug 30 19:50:40 this is the model https://github.com/jhegedus42/scala-android-playaround/blob/master/src/main/scala/com/mypackage/test/DataAdapter.scala#L18 Aug 30 19:50:50 and this would be in C Aug 30 19:52:06 C as in C in the SOF question Aug 30 19:52:21 but i think i don't understand something fundamental Aug 30 19:52:23 in android Aug 30 19:52:33 this is my very first app Aug 30 19:53:21 so when Activity A starts then Activity B is suspended ? Aug 30 19:54:01 and I cannot call methods from Activity A on Activity B ? Aug 30 19:54:11 paused, yes. Aug 30 19:54:13 no Aug 30 19:54:22 i think this was my misunderstanding Aug 30 19:55:05 orbyt_: Okay. I have to ask our dev ops guy. I dont have access to the google console Aug 30 19:55:29 so what happens if I try to call a method from Activity A on Activity B ? will it deadlock ? Aug 30 20:00:08 #spring is dead. Any Spring experts in here that can tell my why my REST backend fails to get an OAuth2 token? http://pastebin.com/cd0eYqY0 The backend is for an Android app -- there's the link ;) Aug 30 20:06:57 Say I have this flow: SplashActiivty, SignupActivity, MainActivity. Splash should only be shown on app startup. Signup should only be shown if not already signed up. How should I implement it? Is it best to implement it straight-forward like mentioned above, ie. Splash.onStart() does if ( isSignupCompleted() ) startActivity(this,MainActivity.class) else startActivity(this, SignupActivity.class); Or should my MainActivity be the main point of entry, and Aug 30 20:10:09 <``````````> joco42: Activity is just the context in which things happen Aug 30 20:10:19 <``````````> you do not call methods from Activity A in Activity B Aug 30 20:10:24 `````````` can you use a normal nick, its very distracting. Aug 30 20:10:37 thanks Aug 30 20:11:27 joco42: instead, you supply data in the Intent you use to tell Android you'd like to see Activity B from Activity A Aug 30 20:12:48 joco42: so you'd more likely have a static helper method that takes in the args you want to pass along to build the Intent to call Activity B like "B.showC(arg1, arg2)" Aug 30 20:13:07 bourbon, thanks Aug 30 20:13:14 and it could return an Intent with the proper args added that you'd use with `Context#startActivity` Aug 30 20:13:44 you're only going to have one active Activity at any given time Aug 30 20:14:32 if you want to guarantee state is not lost, you have to look at overriding `Activity#onSaveInstanceState` and using that state bundle in `Activity#onCreate` Aug 30 20:15:12 joco42: I really think you’re overthinking things here, and you’re trying to solve problems that you don’t have Aug 30 20:16:17 joco42: yeah. You would never have to call activityA method() from activityB. Aug 30 20:16:42 thanks guys for this detailed explanation Aug 30 20:17:59 i think i really need to understand this activity lifecycle thing Aug 30 20:18:32 that you do. luckily, the activity lifecycle is a lot simpler than the fragment lifecycle Aug 30 20:18:46 nice :) Aug 30 20:19:00 joco42: you're welcome. Yeah, it's time you finally understand it. There's a chapter about activity lifecycle in any book about Android development Aug 30 20:19:49 yeah :) true, i really think it's time... Aug 30 20:28:28 oh man - configuring the build since hours. Aug 30 20:29:36 kroot a core internal android class (StateMachine) has all of its tests in StateMachineTest @Suppress .. is that normal? Aug 30 20:29:45 tag 7.0.0_r1 Aug 30 20:33:15 I got java jdk 1.8 configured and set with the correct path for my android studio. still, for the project (api 23) it will only let me choose 1.6 and 1.7 compatibility Aug 30 20:34:43 1.8 compatibility is only available for api 24, I believe Aug 30 20:35:01 some of the libraries have been backported, but compatibility is still limited to api 24 Aug 30 20:38:11 ah ok Aug 30 20:42:14 kroot maybe something fishy going on, but i'm no expert in this area -- in ./frameworks/base/core/tests/coretests/src/com/android/internal/util/StateMachineTest.java , @Suppress did not exist on latest 6.0.1_r63 tag - but was added for 7.0.0_r1 Aug 30 20:42:50 g00s: Thanks for pointing that out. I'll take a look at it. Aug 30 20:42:53 so if i am reading this, none of the unit tests for StateMachine which underly lots of android components were tested Aug 30 20:42:55 ok thx Aug 30 20:44:54 how many users daily do you need to make 100$/month on free app-ads? Aug 30 20:45:10 pffffffft: this depends 100 % on your app and monetization programme :D Aug 30 20:45:36 unsigned_long: just the built in google ads thing that you can use Aug 30 20:45:36 depends on the ad network, but i’d imagine at least in the tens of thousands, if not hundreds of thousands Aug 30 20:46:14 so I need to make an app thats has 100k daily users to get 100$/month? Aug 30 20:46:20 ..and how aggressive you're with ads (video / interstitials / prominently placed banners) Aug 30 20:46:36 just adsense at the start menu or something Aug 30 20:46:50 if you're aggressive I think even 2k-10k daily users are good to go if you're aiming 100 Aug 30 20:47:31 s73v3r: ok I have a problem here, a serious one. android sdk defines an xmlpullparser. however the library I use for json deserialization defines its own xmlpullparser Aug 30 20:47:38 leads to build fail Aug 30 20:47:57 it shouldn’t, as they should both be in different packages Aug 30 20:47:59 are you making any money on the app market? Aug 30 20:48:38 recently, though, I find making money is easier if your users pay (as opposed to making money with ads) Aug 30 20:48:57 tilerendering, dont use that library :> Aug 30 20:48:57 you'd only need to satisfy 1 customer and charge 99 $ per month, doesn't sound THAT hard, right? :D Aug 30 20:49:28 unsigned_long: sounds hard. Aug 30 20:49:30 s73v3r: then this is strange. Aug 30 20:49:32 ..instead of satisfying 10 000 customers and "charging" them 1 cent Aug 30 20:49:43 i think that's easier ^^ Aug 30 20:49:49 (the primer) Aug 30 20:49:56 unsigned_long: but I like your idea.... satisfying a few customers sounds much easier than 100k Aug 30 20:50:15 (the 1st) * Aug 30 20:50:40 tilerendering: can you post the library, and the error you’re getting? Aug 30 20:50:41 unsigned_long: has anyone ever told you that you're smart? :3 lewl Aug 30 20:51:02 unsigned_long: that completely changes my goals actually Aug 30 20:51:08 yeah, on a daily basis, you shouldn't push my ego anymore (my gf keeps telling that others too) :D Aug 30 20:51:17 if a race condition exists between displaying images and downloading new ones (with the same file names), do we need to download into a temp directory and move the file over after it's fully finished? Aug 30 20:51:37 or is android smart enough to handle the overwriting of files that are trying to be read Aug 30 20:52:28 eemgr: it's a linux kernel. The old file still exists until you try to reopen it (that's when you'll read the one under writage) Aug 30 20:52:42 under writing.. not writage :3 Aug 30 20:52:51 but I liked the sound of thwat word.. writage Aug 30 20:52:54 haha Aug 30 20:53:15 okay great, so there wont ever be a case where a file that's being overwritten causes some sort of crash due to a synchronization problem Aug 30 20:53:21 like the UI is loading the image Aug 30 20:53:35 eemgr: I mean, the old files are already opened and will be read as they were. Any new fopen() to the same filename however will point at the new file. Aug 30 20:54:08 i have images being displayed on a rotating timer, my fear is that as new images download during that timer, they could coincide with the overwriting of a newly downloaded image Aug 30 20:54:22 and the display of an old one Aug 30 20:54:36 and if that new file is being written to, you could get a half file if you read it to the end. So the solution is to download it to a temp file, then replace the old file. Aug 30 20:54:47 okay, good to know, thanks Aug 30 20:55:34 s73v3r: just a moment, I m giving it one last try Aug 30 20:55:51 unsigned_long: are you making any money of apps? Aug 30 20:56:25 yes, used to be my main source of passive income Aug 30 20:58:27 s73v3r: I think I solved it - included an older file version + the jar rather than a reference Aug 30 20:58:42 unsigned_long: how does it work? You mak an app, put some ads in it and market it on forums? I just need 100$/month to sustain a living Aug 30 21:00:58 marketing is the hard part, and the part you’re gonna have to invest money in Aug 30 21:01:12 the days of being able to drop an app on the store and having users just come are over Aug 30 21:02:17 s73v3r: well, unfortunately, I just ran into another problem. It looks like I have to pick another library for json deserialization. too bad, xstream was greatly tweakable. I could alias fields, omitfields, influence the way it would instantiate arrays, etc…. Aug 30 21:02:30 never used it Aug 30 21:02:46 any idea for a worthy flexible replacement ? Aug 30 21:02:56 s73v3r: masked advertising on forums? Aug 30 21:03:14 well, having never used it, i dont’t know how well they compare, but gson is generally highly regarded Aug 30 21:03:29 pfffffft: as in actually buying ads, and doing actual marketing things Aug 30 21:03:44 you’re gonna have to make an investment into it Aug 30 21:03:45 though the question still remains. How are the apps going to make any money? ads will require me to have maybe 100k daily users for 100$/mo, right? Aug 30 21:04:01 you’re putting the cart before the horse Aug 30 21:04:23 s73v3r: hm thanks looks good Aug 30 21:04:25 figure out the problem you’re trying to solve, how your app will help, and how you can monetize that Aug 30 21:04:57 s73v3r: what else is there than ads and selling apps? Are there any other options? Aug 30 21:05:11 doing app development for others Aug 30 21:05:14 except starting a company that accept credit cards (which makes things a lot hareder) Aug 30 21:05:24 hmm Aug 30 21:07:03 think less about money and more about your customer value ;) Aug 30 21:07:13 and money will flow richly upon you. Aug 30 21:07:14 ^ right there Aug 30 21:07:46 but the market is already saturated isn't it. there's an app for almost everything Aug 30 21:08:17 unsigned_long: though, about what you just said, even if they're happy with the app, how are you going to get paid? Aug 30 21:09:48 you are asking things that, if we had clear, simple answers for, everyone would be using Aug 30 21:14:58 yep Aug 30 21:17:11 sorry, I thought there was an infrastructure for that: when you have an attractive app, it's known how to monetize it (adds, sell it or some other options) Aug 30 21:17:41 sell it Aug 30 21:17:47 or ads Aug 30 21:18:00 but those are kind of generic answers Aug 30 21:18:38 your problem is not in whether you should sell it, it’s how to get people to buy it Aug 30 21:19:27 * eemgr wont mention selling data Aug 30 21:22:59 eemgr: you mean selling peoples credentials and stuff? Aug 30 21:23:09 credentials!? absolutely not Aug 30 21:23:26 not my thing.. but anonymous user data then? Aug 30 21:23:52 yup Aug 30 21:24:24 s73v3r: but isn't the problem with selling apps that, after they're sold, people have them and don't need to buy them again. So for each app you make to be sold, you'll have to make a new one to keep the money coming? Aug 30 21:24:32 eemgr: is that something you've done? Aug 30 21:24:37 no Aug 30 21:25:07 listen, right now you don’t even have an app Aug 30 21:25:17 s73v3r: why would they buy it twice? Aug 30 21:25:26 you get more users to buy the app Aug 30 21:25:48 s73v3r: but at some point, people stop buying it because they already have it Aug 30 21:25:57 well, new humans are born every day though Aug 30 21:26:02 pffffffft: if you've maxed out an entire demographic then you've done well Aug 30 21:26:05 and you can stop making apps Aug 30 21:26:09 yes. but you are worrying about shit that you are nowhere near close enough to worry about Aug 30 21:26:10 yeah :p Aug 30 21:26:12 or you can shift the focus into the next demographic Aug 30 21:26:17 which is how lots of great products start Aug 30 21:26:34 the naive try to get 1% of a huge market Aug 30 21:26:39 focus on the first two things I said: What problem are you experiencing, and how is your app going to help solve that problem? Aug 30 21:26:46 most go for a large percent of small market Aug 30 21:27:02 don’t ask another question about monetization until you have satisfactory answers for both of those Aug 30 21:28:27 any of you guys know if there's a good way to go about having a free subscription option? Aug 30 21:28:53 free subscription? Aug 30 21:28:59 Get someone else to pay it for you Aug 30 21:29:00 if am solving a problem well, I'll to reach the targeted audience as well. Is that hard/though without money? Aug 30 21:29:07 no Aug 30 21:29:13 you need specifics Aug 30 21:29:24 yeah, so the user can upgrade/downgrade if they want Aug 30 21:29:40 WHAT problem are you trying to solve, and HOW will your app/service/business help solve it? Aug 30 21:30:05 dsardari: I’m still not understanding what you mean by “free subscription” Aug 30 21:30:07 if i only have paid subscriptions the user can't downgrade to paid -> free, they'd have to cancel through play Aug 30 21:30:27 so? Aug 30 21:31:13 seems like a weird UX to be able to upgrade/downgrade between paid but not a "free" subscription. Aug 30 21:31:32 i honestly still have no idea what you mean by a “free subscription" Aug 30 21:31:37 a subscription is something you pay for Aug 30 21:32:18 so dropbox or other storage services usually have a subscription tier of free->business->pro or something Aug 30 21:32:37 free comes with certain storage limits and other things Aug 30 21:32:55 ok, i guess I see Aug 30 21:33:30 well, if your subscription is being handled by Google Play, you’d have to send them to Play to cancel the subscription anyway Aug 30 21:34:38 well, not with upgrades/downgrades Aug 30 21:35:22 do you anticipate people turning the subscription on and off that often? Aug 30 21:35:24 should i start with rxjava 1 or 2? Aug 30 21:35:28 2 Aug 30 21:35:47 So no RXandroid then i take it...? Aug 30 21:35:56 I'm on my own :/ Aug 30 21:36:34 i thought 2 had RXAndroid in it Aug 30 21:36:59 No Aug 30 21:37:06 RxAndroid is 4 classes Aug 30 21:37:22 It's assumed when you say RxJava in the context of Android that you are also using RxAndroid Aug 30 21:37:34 s73v3r: i don't think it'd happen often. it just seems weird. Aug 30 21:37:58 i don’t think it’s enough of an occurance to worry too much about it Aug 30 21:38:16 and like I said, they’d have to go to Play to cancel the subscription anyway Aug 30 21:38:44 rxjava 2? Aug 30 21:38:49 is it been released? Aug 30 21:39:17 gdrc: RC1 has Aug 30 21:39:29 where I can see the changes? Aug 30 21:39:31 why would your subscribers sub/unsub so frequently? Aug 30 21:39:53 https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0 Aug 30 21:39:54 found Aug 30 21:40:01 The winning strategy is: 1. get them to subscribe 2. make them forget they've subscribed to you (st they pay forever :)) Aug 30 21:40:06 they probably wouldn't. it's just a matter of consistency. Aug 30 21:40:53 they have to go through the Play dialogs to subscribe in the first place Aug 30 21:41:17 there might be some APIs you can call to bring up a cancel subscription dialog, if you wish Aug 30 21:41:19 the play dialogs are within your app though Aug 30 21:41:39 but unless you intend for people to change subscription state often, I wouldn’t bother with it Aug 30 21:42:03 yeah, i agree. was just seeing if anyone was in the same boat. Aug 30 21:42:10 well s73v3r, lets take calucaltors as an example. Solves a problem but there are so many calculator apps out there. So, you'll have to solve a problem that havent' been solved then? Aug 30 21:42:17 do I have to use RxAndroid to take advantage of the Schedulers? Aug 30 21:42:36 pfffffffft: we’re not doing examples. Come up with what YOU are going to do first Aug 30 21:42:39 pffffffft: yes, or solve an existing one better. Aug 30 21:42:53 actually, the latter is the one most ppl go for I think Aug 30 21:42:58 So I can subscibeOn and observeOn different threads with rxjava2...? Aug 30 21:43:18 true. there are very few problems that have been perfectly solved for everyone Aug 30 21:43:23 you could always do that.. Aug 30 21:43:46 unsigned_long: yeah, exactly that. And even if you're doing it better, one of the 10k other calculators will be picked anyway, you've got a small chance of getting picked. Aug 30 21:44:18 unless you're substantially different, yes :) Aug 30 21:44:44 different = more useful/desirable in a way Aug 30 21:46:00 s73v3r: i think it will also stay like that, because if you've reached a huge amount of customers and have defended your monopoly, you can start to treat customer shitty to increase your margin, and it won't hurt you a bit :D Aug 30 21:46:35 (like e.g. MSFT and many others maybe do), which then creates room for new startups again Aug 30 21:52:07 but basically, trying to focus on how to make money before you’ve even come up with what you’re going to do is foolish Aug 30 21:56:37 pffffffft: if you can't come with a decent idea to become millionaire, we can provide one for you. Aug 30 21:58:41 hm. Aug 30 21:58:53 is it possible that it is not possible to create an asynctask within an asynctask ? Aug 30 21:59:28 i don’t think so Aug 30 22:01:11 s73v3r: people are ready to pay for some types of apps and some not. Free apps may require you to have 100k daily users, and I doubt I can achieve that. Selling apps however could work, if I only need to e.g. sell 10 of them/month for 5$. It would be harder for me (in general) to make a selling app that satisfies 100k buyers, but easier to get 100k free users. I could however maybe satisfy 10 buyers/month with a paid app. Depending on Aug 30 22:01:11 the "business model", I'd make different kind of apps. Aug 30 22:01:28 again, you’re looking at it backwards Aug 30 22:01:54 come up with what problem you’re having, and how your app will help solve that problem. Aug 30 22:02:00 then think about monetization Aug 30 22:02:23 it´s really strange - I construct an instance of JettisonMappedXMLDriver and suddenly even the debugger cant attach anymore and it falls back to an asynctask instance. Aug 30 22:02:48 i dont even get an exception Aug 30 22:02:57 pffffffft: it would take 20 buyers/month at 5$ to make 100$/month, though Aug 30 22:03:41 pffffffft: so you need to find an idea to satisfy 20 people per month Aug 30 22:04:03 pffffffft: precision is important in business plans Aug 30 22:05:04 20 buyers/month, that's impossibru. What solution can I possible solve and market .. Aug 30 22:05:12 hmmmmm Aug 30 22:06:41 pffffffft: all good ideas have already been exploited. There is nothing else to do. It's time to move past this Android development thing. It's a dead thing. Aug 30 22:07:49 arancio: that's my feeling Aug 30 22:07:49 arancio: Everytime I say there are no more good ideas and that literally everythings been done (in terms of game dev), there's always another game that comes out and I'm just like 'man I wish I'd thought of that'. I'm sure it's the same thing for apps, there's always nice ideas that would sell big. Aug 30 22:08:12 ideas are literally impossible for me Aug 30 22:08:40 ClydeSlims: there are always new ideas coming out.... that's the prob. Just look at youtube. Only a few makes the money Aug 30 22:09:11 in terms of apps and stuff, generally the best approach is to think about what problems you’re experiencing that could be aleviated by an app Aug 30 22:09:12 I personally also believe that kind of the low-hanging fruits have been harvested and monopolies have been established in certain categories, lucky if you started with Android 1.5 and 1.6 like g00s or JakeWharton ;DD Aug 30 22:09:22 ClydeSlims: shut up Clyde, I'm trying to engineer a conclusion for this futile discussion, possibly involving pffffffft leaving the channel. You are ruining my attempt! Shhhh! Aug 30 22:09:52 ClydeSlims: ;) ;) ;) Aug 30 22:10:22 There are no more problems Aug 30 22:10:28 unsigned_long, I remember when flappy bird came out and a friend and I made a clone and it made like $20K in a few weeks and then it got taken down. lol Aug 30 22:10:41 $2k**** Aug 30 22:10:46 lol Aug 30 22:11:09 so what's the message? :D Aug 30 22:11:26 the message is clear! Aug 30 22:11:28 unsigned_long, the message is...exploit the good stuff as much as possible? I guess? D: Aug 30 22:11:33 making 2k in the short term isn't really worth the time, right? Aug 30 22:11:53 for fucking 2k? A normal paying job is already 6-8k in the valley, right? Aug 30 22:12:10 unsigned_long, well I had a friend who apparently made around $10k but the guy who made flappy bird threatened to sue and asked the income he had made be delivered to him Aug 30 22:12:26 pffffffft: wanna know how to become millionaire? Aug 30 22:12:29 unsigned_long, I mean if it takes like a day or so why not Aug 30 22:14:01 sure if it's 1 day :D Aug 30 22:16:27 unsigned_long: right.. so the low hanging fruits have already been harvested. You had to be the first. So it's about being first with someting desirable? Aug 30 22:20:11 pffffffft: unsigned_long is temporarily busy developing his next million dollar app. He's answer as soon as possible. Aug 30 22:20:40 userx: hi Aug 30 22:26:53 these gimmicks aren't selling https://play.google.com/store/apps/details?id=com.richpeoplesclub.amethyst Aug 30 22:27:51 pffffffft: rich people use iPhones. That's why those gimmicks aren't selling. Aug 30 22:29:28 pffffffft: if you want to show off you buy a gold plated iPhone sprinkled with diamonds. Not an app. http://www.goldplating.com/I-Phone.jpg Aug 30 22:29:52 verifyerror oh man. Aug 30 22:37:26 http://stackoverflow.com/questions/39238127/xstream-android-verifyerror Aug 30 22:37:38 I'm trying to use DateUtils.formatElapsedTime to format into 0:00 format. Default is 00:00. Not sure how to use stringbuilder for that Aug 30 22:37:43 any tips? Aug 30 22:38:01 what kind of app are you making cmendes0101? Aug 30 22:38:16 its just for displaying the playback duration Aug 30 22:38:33 pffffffft: it's a high hanging app Aug 30 22:38:45 shouldn’t you be using SimpleDateFormat instead? Aug 30 22:47:23 is google play SJW-like or can you make apps with stick figures of prophet mohammed etc? Aug 30 22:47:59 I bet people would make such apps.. can't find even one Aug 30 22:48:56 I’ve learned never to take anyone seriously who uses the term SJW Aug 30 22:49:46 oh, just wait until they get into a FOSS-project you're working on. they're a real threat. Aug 30 22:50:12 no, they aren't Aug 30 22:50:18 will start to commit totally random variable name changes because they are offensive etc Aug 30 22:50:32 it's another discussion, but I can show you endless real world examples Aug 30 22:53:55 yeah, I heard of endless FOSS projects ruined by random variables changes because the mentioned prophet mohammed Aug 30 22:54:08 it's the major cause of failure for FOSS projects Aug 30 22:54:40 we could have this discussion, I've got no problem with it, but I sense that it's a little but too off-topic Aug 30 22:55:12 don't worry about it Aug 30 22:56:21 it’s extremely off topic, and dumb Aug 30 22:56:50 yes, not worth wasting time over. I don't think we'd be talking about the same thing even. Aug 30 22:58:10 what does it mean when 1 search term only show up 10 apps? Aug 30 22:58:34 seems like some search terms are banned Aug 30 22:58:37 google play store Aug 30 23:00:25 like if searching google play store was on topic Aug 30 23:13:45 https://play.google.com/store/apps/details?id=ghost.detector.pro over 1M downloads.. how?! It's only 1 year old. I thought apps like that would have been heavily saturated already? Aug 30 23:16:34 pffffffft: this channel is about Android applications development not about Android applications review or Android market research. Do you understand the difference? Aug 30 23:19:15 should I get more than quadcore hardware for dexing Aug 30 23:20:39 missingno: wht's dexing? Aug 30 23:22:35 yo you people who don't need to deal with multidex are so lucky Aug 30 23:23:16 full builds acually build fast, instant run doesn't crash, etc Aug 30 23:24:59 anyone out there using retrofit/rxjava/realm in their projects? Aug 30 23:25:48 realm removes the need for content providers but what limitations or issues could you run up against when using it? Aug 30 23:26:06 missingno: Is your application really big? Aug 30 23:27:31 missingno, show your gradle build file, do you depend on bunch of libraries? Aug 30 23:29:31 yes they are called play-services and the support library Aug 30 23:29:54 bet you have a few more Aug 30 23:30:07 well yes, I also have 70k of not-library code Aug 30 23:30:18 70k methods? Aug 30 23:30:27 yep Aug 30 23:30:32 eww Aug 30 23:30:42 that is an accurate assessment Aug 30 23:32:09 missingno: can I ask you what's your app about? Aug 30 23:32:29 it’s about 130,000 methods Aug 30 23:32:56 missingno, I hope it's about Pokemon Glitches Aug 30 23:44:31 For some reason, the theme on my activity_main.xml layout editor is different from the one that shows on my actual device. For example, the action bar has a little android logo next to the title and the background of it is grey, while on the device there is no android logo and the background of it is blue Aug 30 23:44:52 using Holo.Light theme in my layout editor Aug 30 23:45:32 or does the layout editor not change the actual theme for the app and I have to do this manually? Aug 30 23:46:24 because in styles.xml the theme is set to "AppTheme" and when I choose "AppTheme Aug 30 23:46:35 in the layout editor, there's no action bar. But on the device there is. Aug 30 23:47:13 you have to set the theme manually in the editor Aug 30 23:49:04 s73v3r, apparently it's a problem with Android Studio. Aug 30 23:49:22 oh yes, I know Aug 30 23:49:56 Ok, Google is giving me mixed responses because my AdSense app on my phone and tablet are saying that my application is still under review, but I see that it's getting impressions and "real" adds Aug 30 23:50:53 And my AdSense console doesn't show anything about app still being under review Aug 30 23:59:47 I don't even see the error notification in my web browser Aug 30 23:59:59 But I see it in the AdSense app Aug 31 00:00:50 VerbalKint: first adsense app? Aug 31 00:01:04 pffffffft: yeah Aug 31 00:02:44 VerbalKint: I guess all you can do is wait Aug 31 00:02:59 VerbalKint: yes, it'll show ads meanwhile though. Aug 31 00:03:37 pffffffft: but in the web browser it doesn't show anything that might indicate that my Android app is still being reviewed Aug 31 00:04:53 pffffffft: but you're probably right since I haven't received a confirmation email Aug 31 00:06:40 VerbalKint: in my experience, the ad companies will profit from the ads you place there regardless of whether you're [yet] confirmed or not Aug 31 00:06:48 just more money for them Aug 31 00:07:17 pffffffft: I'll wait until the end of this week, then Aug 31 00:08:51 pffffffft: yeah, it's all a scam Aug 31 00:38:58 is there any downside of publishing a lot of apps? Aug 31 00:39:24 having crappy apps because you’re not spending enough time on them Aug 31 00:40:38 s73v3r: can't you just finish an app and move on to the next idea and make 1 new app each month? Aug 31 00:40:56 you'll have 24 apps after 2 years Aug 31 00:41:14 then you’ve got some incredibly simple apps that people aren’t going to pay for, and probably aren’t doing anything of use Aug 31 00:41:57 this is an area where quality, not quantity is important Aug 31 00:42:07 who cares if you have 50 apps if they’re all shit Aug 31 00:45:36 s73v3r: they aren't necessarily shit. But can't you trial-and error apps that haven't been made yet, such as rare card games etc Aug 31 00:45:47 you should be the only one with an app for that then Aug 31 00:45:48 if you’re only spending a month, they probably are Aug 31 00:46:10 why would you need more than a month to implement a card game? Aug 31 00:46:25 because it’s pretty damn complex? Aug 31 00:46:35 and you aren’t going to be done with it once you release Aug 31 00:46:43 you’re going to have bugs to fix, marketing to do Aug 31 00:46:59 requested features to add Aug 31 00:47:38 seriously, the only problem you’ve been thinking about is how to make money, rather than how to solve a problem that people have Aug 31 00:47:50 and for that, you’re probably not going to do well Aug 31 00:48:47 The kind of problems I like to solve are theoretical computer science problems. When it comes to apps, people pay for pointless shit and I want a piece of that cake :D Aug 31 00:50:30 they don’t, really Aug 31 00:56:16 s73v3r: ghost detector pro, over 1M downloads in 1 year Aug 31 00:56:34 virtual bineural sound drugs.. selling in-app drugs Aug 31 00:56:36 not a paid app Aug 31 00:56:49 s73v3r: generates AdMob revenue? Aug 31 00:57:08 if you want to chase fads, do what you want. You’ll have tons of apps, and none of them will be any good or popular Aug 31 00:57:32 if you want to make money, then you need to focus on how to help customers and deliver value to them. Aug 31 00:59:17 I suppose Aug 31 01:11:43 pffffffft: you have few choices 1) make a great app for theoretical computer scientists to buy for real money 2) find another interest shared with other people, deepen your knowledge of that area and find an idea for an app 3) stick to theoretical computer science and leave the market of Android apps to other people 4) be hired by a company that has a grasp on what people are interested in a develop whatever they ask you to develop Aug 31 01:13:24 browsing Google Play and pestering this channel in search of quick way to make money is moronic Aug 31 01:13:41 there are no quick ways to make money Aug 31 01:14:23 1) small market commercially app-wise, android market is not a good target for that 2) trying 3) Will do. Just need to make money asocially online while finishing my degree, just need 100$/mo and IT-experience 4) I'm half-way autistic and need a non-social job Aug 31 01:15:16 arancio: by the look of it, ghost detector pro seems to be doing good. Over 1M downloads in a year maybe. Probably making some admob revenue Aug 31 01:16:15 wtf is ghostdetector pro Aug 31 01:16:23 lol Aug 31 01:16:50 darken: it detects ghosts and people are downloading it Aug 31 01:17:08 yet here I am trying to solve NP-hard problems Aug 31 01:17:16 while making nothing :D Aug 31 01:17:51 I just need to fund my research, 100$/mo Aug 31 01:18:11 Make Trolldetector HD Aug 31 01:18:24 You can hold it up peoples noses and it will beep Aug 31 01:18:32 if they are full of shit Aug 31 01:18:51 100 $/mo is not funding research. That's an allowance Aug 31 01:19:34 darken lol Aug 31 01:19:51 darken: "Trolldetector HD" would make his own smartphone explode Aug 31 01:20:17 that's the trick Aug 31 01:20:18 darken: I had a similar idea but it'd get banned Aug 31 01:20:58 people will complain that it is always beeping, but it's no lie, it's just that sensitive and detecting it itself is full of shit, genius! Aug 31 01:21:33 Works as advertised! Aug 31 01:21:35 arancio: yes, that's all I need. 100$/mo Aug 31 01:21:44 pffffffft: can you make an app to help autistic people work better in a social job? Aug 31 01:22:20 arancio: I've thought about that as I can test it myself, but right now I just need moneyz Aug 31 01:22:43 I'd give it for free Aug 31 01:23:09 A nice icon theme easily makes 100/month Aug 31 01:23:22 If you are good at graphics ? Aug 31 01:23:44 I suck. So themes are selling? Aug 31 01:24:06 what about redesigning an app that isn't good, and submitting it to the company in hopes they'll give you a job? lol Aug 31 01:24:24 drinfernoo, I've never heard that work Aug 31 01:24:30 damn lol Aug 31 01:25:14 those redesigned apps that looked good, were just mockups and for portfolios, and those that were actually working either looked shitty or didn't send it it in fear of being sued Aug 31 01:25:14 pffffffft: what about selling your body? You can make 100$ per hour Aug 31 01:25:55 Icon themes are spamming gplay though... Aug 31 01:26:45 pffffffft: if you only need 100$ per month you can work only 1 hour per month Aug 31 01:28:20 anyone get the API 24 sources working in AS yet? Aug 31 01:28:42 dactyldev, sure just download and it works Aug 31 01:29:03 dactyldev: at least you could say "hi", entering the channel, before cold-asking a question Aug 31 01:29:30 sorry Aug 31 01:29:33 hi everyone Aug 31 01:29:53 :-) Aug 31 01:30:11 arancio, I disagree, this only leads to "Can I ask a question" Aug 31 01:30:38 darken, i was able to download and install the sources but I am getting a bunch of compiler errors in classes with new changes, are you seeing the same thing? Aug 31 01:30:45 pffffffft did you read the links i gave you ? Aug 31 01:30:53 specifically a class like AccessibilityService Aug 31 01:31:47 Well, I don't see the connection between "Hi" and "Can I ask a question?". "Hi. ?" is nice and quick. I was joking, anyway Aug 31 01:31:54 dactyldev, nope, worked fine, had some issues with gradle but that was because I fucked up the build file Aug 31 01:32:20 arancio, I see, maybe pffffffft could make a Sarcasm Detector HD Aug 31 01:33:18 damn, wonder what I did wrong, you just downloaded them through the SDK manager, right? any other changes you had to make? Aug 31 01:33:24 darken: "Trolldetector HD" works fine on me Aug 31 01:33:44 dactyldev, I just clicked the "Download sources" button that AS popped up, then restartet AS Aug 31 01:34:53 and you don't get any compiler errors in AccessibilityService? Aug 31 01:35:04 darken: http://origin.webcdn.theblackdesertonline.net/forum/service_live/monthly_02_2016/Trollmeter.gif.2beba4d0a37622658aeb13b580afa62e.gif Aug 31 01:35:48 dactyldev, I don't use it Aug 31 01:37:25 you don't happen to have AS open to check do you? :) Aug 31 01:38:59 g00s: yes. And I did some more research. Although you're not making a living out of apps unless you're the top 1000 or have some kind of super app, people seem to be making 3$/day on AdMob, that'd be enough for me Aug 31 01:39:36 $3 now, but ARPU keeps going down Aug 31 01:41:08 pffffffft skate where the puck is going, but its riskier. AR/VR, IoT, machine learning, maybe cars Aug 31 01:42:30 i had an AR idea today even; the full project w/o AR would involve robotics. but second best is if you are the robot and the AR system showed you the things (n a haystack) that needed your human "robotic" attention Aug 31 01:42:35 dactyldev, I do, just finished a GSON parser :) Aug 31 01:42:52 or rather fixed my fucked up formatting :o Aug 31 01:43:02 haha Aug 31 01:43:32 pffffffft, is there a top1000 list somewhere? Aug 31 01:43:34 would you mind checking out the AccessibilityService class in API 24 to see if you get the compiler errors too? or if I am crazy Aug 31 01:43:45 dactyldev, what do you mean by check out? Aug 31 01:44:12 darken: not that I know of. but probably Aug 31 01:44:36 g00s: are you making any money of admob? Aug 31 01:44:50 dactyldev, I can view the code, but some classes and a bunch of annotations don't resolve Aug 31 01:44:57 pffffffft no - you can, just need lots of installs Aug 31 01:45:00 i dont do ads Aug 31 01:45:01 ah ha Aug 31 01:45:03 * g00s hates ads Aug 31 01:45:07 ok, so I am not crazy Aug 31 01:45:34 oh man , oreilly %50 off ... %60 off orders > 100 Aug 31 01:45:53 I made 37.24€ from ads last month :) Aug 31 01:46:26 I hate ads too but I wanted to experiment Aug 31 01:46:38 darken, I am trying to debug my usage of a new method but since I can't trace into those unresolved elements I am stuck :( thank you for confirming for me though Aug 31 01:46:57 I wonder if there will be an update to the sources to fix it? Aug 31 01:47:17 dactyldev, make an issue ticket on the tracker Aug 31 01:47:48 g00s: making revenue of selling apps then? Aug 31 01:48:11 pffffffft not really, ha Aug 31 01:48:23 i was making $100 / month for a while Aug 31 01:48:30 good idea Aug 31 01:49:57 g00s: how? what were you selling? Aug 31 01:50:15 really, it seems like being an app in itself can't be the business model anymore (unless you Aug 31 01:50:20 unless you're lucky) Aug 31 01:50:27 but rather a part of something bigger, such as tinder Aug 31 01:50:59 pffffffft no, apps are not where its at Aug 31 01:51:13 it has to be a touchpoint to something larger, yea Aug 31 01:51:22 they say. don't write an app, make a business Aug 31 01:52:09 pffffffft this has cheesy title, but its good https://www.amazon.com/How-Build-Billion-Dollar-App/dp/0349401373 Aug 31 01:52:35 pffffffft i'm telling you , with even the best chops, startup knowhow, you will need to be very lucky these days Aug 31 01:52:38 so .. be realistic Aug 31 01:53:07 oh and i see startups in SF aire pairing down for some impending bubble pop Aug 31 01:55:54 I can't imagine how someone could think that selling silly computer programs with little intellectual value could be a source of revenue in itself in the long run. Aug 31 01:56:14 google is taking on uber, ha Aug 31 01:57:40 pffffffft: there are my role models: http://vancouversun.com/news/local-news/grade-six-girls-from-north-vancouver-create-hike-safe-app Aug 31 01:58:04 arancio: that's stochastic, you don't know without knowing, it's not something you deduce logically. If the case is such that 1000 users/day of an app yields say 100$/mo, it could be so for valid reasons. Aug 31 01:59:17 s/valid/reasonable Aug 31 01:59:27 pffffffft: as I said 100$/mo is not a revenue. It's an allowance. If that's what you need it's ok. But it's still not a meaningful revenue Aug 31 02:00:00 it's all I need :3 Aug 31 02:00:04 you can probably save 100$/mo in expenses Aug 31 02:00:15 I have no expenses Aug 31 02:00:23 $100 month, may as well work at walmart or burger king Aug 31 02:00:30 Don't you eat? Aug 31 02:00:39 Don't you wash youself? Aug 31 02:00:43 has anyone ever built a wizard-style form for an app before? Aug 31 02:00:55 lol, you can eat well on $4/day - still doesn't work out :) Aug 31 02:00:58 Don't you put clothes? Aug 31 02:01:11 pffffffft don't you have to keep your computer working :D Aug 31 02:01:12 eat "well" lol Aug 31 02:01:32 g00s: I wrote that in response to his "I don't have expenses" Aug 31 02:01:35 if your machine dies, you'll have to wait 6 mos to get a new one and fast the whole time Aug 31 02:02:10 and $600 machine isn't going to un the emu well, so you;ll need to keep spending money on android devices Aug 31 02:02:35 i think pffffffft is trolling us, but i went along for now ... Aug 31 02:02:39 heh Aug 31 02:02:55 g00s: no, I just need 100$/mo Aug 31 02:03:29 pffffffft, because your parents pay everything else and you need 100$ per month for the arcade? Aug 31 02:03:53 darken: no, he needs 100$/mo to "fund his research" Aug 31 02:03:53 why are you so fixated on 100$, not more not less Aug 31 02:03:58 ok anyhow this has gone on long enough Aug 31 02:04:04 i think almost all day Aug 31 02:04:07 ive been looking at various libraries to build wizards, but https://github.com/MarkOSullivan94/Android-Material-Wizard doesnt feel customizable enough, and https://github.com/txusballesteros/welcome-coordinator doesnt feel flexible enough :/ Aug 31 02:04:10 darken: the rent is the same regardless of whether I'm here or not. the 100$ is to cover the rest Aug 31 02:04:19 so im stuck trying to implement it on my own, and im lost lol Aug 31 02:05:58 g00s, if it's been that long, we need that trollhunter app lnao Aug 31 02:06:09 lmao, rather Aug 31 02:07:32 not trolling though Aug 31 02:07:44 what's so odd about needing 100$/mo? Aug 31 02:08:37 you know wht woudl be nice Aug 31 02:08:39 $100/day Aug 31 02:10:12 http://s.gullipics.com/image/n/h/6/hq2x3b-krmb43-qp33/bullshitdetector.gif Aug 31 02:10:21 magicturtle, no kidding lol Aug 31 02:10:25 The actual problem is that he's not trolling Aug 31 02:11:00 so nobody here makes more than 100$/mo on apps? Aug 31 02:11:08 currently Aug 31 02:11:15 apps themselves that is Aug 31 02:11:22 I do Aug 31 02:11:23 it's not a problem, if i made $100/mo from an app, that'd be fine with me, and i have a job and bills and stuff, so it would just be an allowance Aug 31 02:11:55 i need to publish an app first though, i think lol Aug 31 02:11:57 darken: wanna show what app that is? :) Aug 31 02:12:20 pffffffft, for someone solving NP hard problems, that shouldn't be too difficult to find out ;) Aug 31 02:12:30 ghost detector hd, right? Aug 31 02:12:44 not niche enough Aug 31 02:13:03 Throwing distance detector, through smart algorithms, the phone detects how far it is thrown Aug 31 02:13:12 *Throwing distance detector HD Aug 31 02:13:24 darken: I'm not a private detective Aug 31 02:13:26 nice, that's probably raking in dough Aug 31 02:14:13 hey can someone get me the download URL for android studio? Their site is not compatible with the only browser I have (firefox) and it won't show me the download option.. Thanks! Aug 31 02:14:18 64 bit btw Aug 31 02:14:34 someone actually made that, but for throwing vertically, went semi viral... died off pretty quickly, should have made that app though was nice publicity for the dev Aug 31 02:14:53 jesseg: not compatible with firefox? how old is your browser? Aug 31 02:14:55 jesseg, downloaded AS with firefox yesterday :O? Aug 31 02:15:12 darken, in linux? or windows? Aug 31 02:15:29 jesseg, windows Aug 31 02:15:29 whoops lol Aug 31 02:15:30 pffffffft, firefox 45.0.2 Aug 31 02:15:53 jesseg, https://dl.google.com/dl/android/studio/install/2.1.3.0/android-studio-bundle-143.3101438-windows.exe Aug 31 02:16:11 jesseg: what OS? Aug 31 02:16:25 linux Aug 31 02:16:37 https://dl.google.com/dl/android/studio/ide-zips/2.1.3.0/android-studio-ide-143.3101438-linux.zip Aug 31 02:16:50 might have noscript on and blocking their TOS agree popup? Aug 31 02:16:55 darken, thanks! Aug 31 02:17:27 darken, I do not have noscript. Their TOS agree pop up does pop up, but the agree button has no text on it. And when I click the blank agree button, it just takes me back to noplace, and no download ever starts. Aug 31 02:17:31 jesseg: https://dl.google.com/dl/android/studio/ide-zips/2.1.3.0/android-studio-ide-143.3101438-linux.zip Aug 31 02:17:44 Thanks guys!! Much appreciated! Aug 31 02:18:10 Anyone else getting "Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]" regularly when deploying apks from AS ? Aug 31 02:18:33 Seems like a permission issue failing to replace the old files... Aug 31 02:34:53 lol he's gone Aug 31 02:36:50 you guys pushed him away Aug 31 02:37:16 D: Aug 31 02:38:03 so nobody has worked on a wizard? Aug 31 02:39:44 What wizad? Aug 31 02:39:47 *wizard Aug 31 02:41:08 Oh nothing that fancy as what you linked Aug 31 02:41:22 I usually take an activity and write some kind of logic that replaces the fragments Aug 31 02:42:01 how do you get input back to your activity? Aug 31 02:44:13 In one app the fragments callback to the fragment saying they are done, in another app the activity is registered to a background service that changes depending on fragment actions and if they validate to true, the "next button" is enabled Aug 31 02:44:47 in the last part the "previous/next" actions are part of the activities layout, not the fragments Aug 31 02:46:16 one could also use intents, but I find somekind of callback system cleaner Aug 31 02:46:27 I'm trying to build my own library to accomplish it, using builders to make "pages" for a custom ViewPager, with the pages just being custom views Aug 31 02:46:41 but i can't figure out a good way to pass information back Aug 31 02:46:58 I'm not very familiar with making callbacks of my own lol Aug 31 02:47:47 also, im stumped on how to make "branches" where one choice influences later pages Aug 31 02:47:52 pretty simple, i.e. when adding pages to your custom viewpager, give each page a reference Aug 31 02:48:28 add(myPage); .... myPage.setListener(someInterface); Aug 31 02:48:59 and maybe your custompager implements someInterface, and maybe it has someInterface.onPageDone(); Aug 31 02:49:23 now your page can tell the viewpager when it's done and the next page should be shown Aug 31 02:49:36 (or anyother class that implements the interface) Aug 31 02:52:15 that mostly makes sense Aug 31 02:55:18 i hope :|, need to sleep, but "just one more commit"... Aug 31 02:55:52 lol Aug 31 02:56:17 I'll need to look back at this once I'm in front of AS again **** ENDING LOGGING AT Wed Aug 31 02:59:58 2016