**** BEGIN LOGGING AT Sun Sep 04 02:59:58 2016 Sep 04 03:01:16 Arancio, That github takes away all the boilerplate that you normally have to write every time you make a xamarin project, in addition to add a few nifty features such as a proper logging framework and a simple cache system based on realm.io Sep 04 03:01:43 liefer: do you develop with Xamarin? Sep 04 03:01:48 yes Sep 04 03:02:18 Did you first learned Android using Android Studio? Sep 04 03:02:25 eclipse Sep 04 03:02:31 im oldschool yo Sep 04 03:02:32 ok Sep 04 03:02:41 which in the app world means anything more than 6 months of experience :D Sep 04 03:02:54 :) Sep 04 03:03:09 but i've used android studio too Sep 04 03:03:13 I meant to ask if you first learned "native" development Sep 04 03:03:17 big upgrade over eclipse Sep 04 03:03:23 regardless of the IDE and build system Sep 04 03:03:26 yes Sep 04 03:03:37 i was very sceptical of xamarin at first Sep 04 03:03:47 anyone ever get this mesage about a plugin being too old? Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "2df7e968184945ec72a0c65ad8867a474e5e01ea" I just got prompted to update my gradle and when I clicked on the upgrade button now my gradle sync is failing Sep 04 03:03:55 Do you still write Java code with Xamarin? Do yo manage to do everything in C#? Sep 04 03:03:57 would have never used it if someone didnt force me to Sep 04 03:04:01 now i love it Sep 04 03:04:08 everything is c# Sep 04 03:04:10 looks like it's using gradle 2.2.0-alpha5 now (?) Sep 04 03:04:31 for F#, if ur into that kind of thing Sep 04 03:04:34 or* Sep 04 03:04:56 liefer: thanks for the information. I'll work a bit more with Android Studio and then try Xamarin Sep 04 03:05:01 i much prefer doing c# over java Sep 04 03:05:06 me too Sep 04 03:05:20 the api's are the same in native and xamarin dev Sep 04 03:05:32 if ur curious about xamarin u should try it Sep 04 03:05:56 pretty much anything u learn about xamarin dev can be applied to native dev Sep 04 03:06:04 Yeah, I will do. I'm learning a lots of things currently. I don't want my brain to explode Sep 04 03:06:11 but ive said too much, xamarin doesnt give me enough sponsorship money Sep 04 03:06:17 you are telling me good news Sep 04 03:06:18 :D Sep 04 03:06:23 liefer: thanks again Sep 04 03:06:28 np Sep 04 03:07:02 https://codeshare.io/gyOQq picasso is overriding my pics, I'm trying to put 5 pics Sep 04 03:07:06 into a gridLayout Sep 04 03:07:15 and using picasa to set a dinamically generated imageView Sep 04 03:07:22 why could that be happening? Sep 04 03:07:43 it just shows one pic Sep 04 03:09:36 Arancio, if you have visual studio installed, you can have a xamarin app running in under 2 minutes using the github link Sep 04 03:10:15 liefer: I bookmarked the link. I will try it tomorrow. It's very late now here Sep 04 03:10:37 okay :) Please let me know how it works out for you Sep 04 03:10:50 sure :) Sep 04 03:11:10 liefer: did you make it? Sep 04 03:11:19 some of it Sep 04 03:11:29 ah, I didn't realize that. Sep 04 03:11:45 Sure I'll give you some feedback as soon as I try it. Sep 04 03:11:50 cheers Sep 04 03:12:51 Anyone here used PhoneGap before and created app using it? Sep 04 03:13:05 no Sep 04 03:13:08 and dont Sep 04 03:16:02 i wanna know it's good to create android app using html,css and js or not ? Sep 04 03:16:23 if you want to use html, css and js, make a web app IMHO Sep 04 03:16:36 make it "responsive" and "progressive" Sep 04 03:16:56 what is progressive Sep 04 03:17:34 service worker (makes it work offline), push notifications etc Sep 04 03:17:41 both terms are silly Sep 04 03:17:47 makes no sense Sep 04 03:17:58 but k Sep 04 03:18:10 look up jake archibald and his work on service workers Sep 04 03:18:32 the piece of js tech that makes websites available offline Sep 04 03:18:36 and make them "progressive" Sep 04 03:19:36 "PWA" its also called Sep 04 03:21:09 ServiceWorkers arent a thing though yet right? Sep 04 03:21:19 okay, i'll take a deep look on jake work Sep 04 03:21:31 it is in firefox, chrome, edge and maybe soon in safari? Not sure Sep 04 03:21:53 interesting Sep 04 03:21:59 http://caniuse.com/#feat=serviceworkers Sep 04 03:22:16 my bad not edge it seems Sep 04 03:25:43 you can have a very basic offline web app with a ~10 line service worker, that just caches GETs Sep 04 03:33:33 Is it safe to simply move an Android Studio project folder? Sep 04 03:33:35 or should I do something in android studio to tell it a new folder Sep 04 03:35:39 of course, service workers are much more powerful than that. I have made a web app with full CRUD support, even while offline. Data is sync'd once the user gets back online Sep 04 03:37:30 orbyt_, you might find this interesting: https://www.youtube.com/watch?v=cmGr0RszHc8 Sep 04 03:38:24 The instant app concept they talked about at io will be interesting Sep 04 03:41:08 very Sep 04 03:48:36 havent had a chance to look into it too much yet Sep 04 03:48:42 but it looks cool Sep 04 03:50:24 how do I animate the elevation of a LinearLayout on click? Sep 04 03:55:18 property animation Sep 04 04:06:43 orbyt_: what is "property animation"? Google keywords? Sep 04 04:07:02 I have to animate a property so I guess it's property animation Sep 04 04:07:42 yes, its property animation. Sep 04 04:08:01 you can animate just about any property..look at ObjectAnimators Sep 04 04:08:10 orbyt_: thanks Sep 04 05:33:08 VerbalKint: buna ziua Sep 04 05:33:23 Arancio: hey Sep 04 05:46:56 VerbalKint: I managed to get ripple and elevation on the buttons. I'm trying to animate the elevation now Sep 04 05:52:33 nice Sep 04 05:57:01 lexileo: what's nice? Sep 04 06:02:14 Arancio: nice. If you wanna show me the result, I won't mind. Sep 04 06:04:34 Why does Android Studio complian about this line? android:stateListAnimator="@anim/button_elevation" Sep 04 06:04:46 I have an anim folder in res Sep 04 06:04:55 and there is a button_elevation.xml Sep 04 06:05:09 There is also an error in button_elevation.xml Sep 04 06:05:10 Arancio: anim != animator Sep 04 06:05:38 is marked in red Sep 04 06:05:48 the same code works in the drawable folder Sep 04 06:06:03 VerbalKint: it's supposed to be anim. It's the name of a folder Sep 04 06:06:09 I copied the code from a tutorial Sep 04 06:06:13 but there is something wrong Sep 04 06:06:15 Arancio: try making an animator folder and putting them there Sep 04 06:06:39 Arancio: as retarded as it may sound, anim and animator aren't the same thing Sep 04 06:07:07 the tutorial uses anim Sep 04 06:07:20 http://trickyandroid.com/simple-ripple-reveal-elevation-tutorial/ Sep 04 06:08:13 Arancio: just trying putting them in animator Sep 04 06:08:14 if I place the .xml file in the animator folder, it works Sep 04 06:08:17 but Sep 04 06:08:32 android:stateListAnimator="@animator/button_elevation" is still marked as error Sep 04 06:08:59 Arancio: what does it say? Sep 04 06:09:22 Sorry, I had a typo Sep 04 06:09:54 Arancio: works now? Sep 04 06:10:10 yes it works. I have the elevation animation now! Thanks Sep 04 06:10:25 I don't know why that tutorial uses "animator" instead of "anim" Sep 04 06:10:32 sorry, the other way around Sep 04 06:10:38 "anim" instead of "animator" Sep 04 06:13:53 VerbalKint: thanks Sep 04 06:14:01 Arancio: np Sep 04 06:14:28 VerbalKint: do you use it in your game? Sep 04 06:14:37 Arancio: yeah Sep 04 06:22:17 <_genuser_> hello people. Sep 04 06:23:47 _genuser_: morning Sep 04 06:27:43 morning folks Sep 04 06:27:51 i dont plan on sleeping tonight :P Sep 04 06:29:04 hi Sep 04 06:31:08 hi my friends Sep 04 06:31:47 how can i design gui for android app very nice Sep 04 06:33:26 thats kinda broad question Sep 04 06:35:34 Ashiren, i want website that learn design gui Sep 04 06:37:07 are there everybody here? Sep 04 06:39:10 homa_: what about this website? http://design.tutsplus.com/categories/interface-design Sep 04 06:40:21 o/ VerbalKint Sep 04 06:40:27 VerbalKint, do you know website create gui android in gimp Sep 04 06:40:37 raoul11: heya Sep 04 06:40:49 or other linux application Sep 04 06:41:25 homa_: Gimp? Quality GIMP tutorials are kinda hard to find Sep 04 06:41:44 homa_: Inkscape is pretty good from what I hear and there should be tutorials for it Sep 04 06:42:25 VerbalKint, this is for linux Sep 04 06:42:39 homa_: yes, inkscape is free and works on linux Sep 04 06:43:41 homa_: you could try these tutorials http://design.tutsplus.com/articles/back-to-school-28-easy-inkscape-tutorials--cms-21870 Sep 04 06:44:01 raoul11: how are you doing? Sep 04 06:44:13 not bad Sep 04 06:45:45 VerbalKint: gimp = bitmap graphics, inkscape = vector graphics Sep 04 06:45:56 Arancio: I know Sep 04 06:47:56 Why do most smartphone covers only cover the back of the device? Sep 04 06:48:07 Isn't the screen the most fragile part? Sep 04 07:04:39 Hey peeps. Sep 04 07:05:26 I purchased a new android.. it was the demo model.. The demo app keeps taking over. any idea how to remove it? Sep 04 07:10:23 #android please. Sep 04 07:10:26 What device> Sep 04 07:11:03 sony experia z4 Sep 04 07:11:28 They didn't have any more (end of live I suppose) so I asked if could get the floor model. Sep 04 07:11:47 Factory reset via recovery. Sep 04 07:11:57 they sold it to me for a 100$ off.. Sep 04 07:12:03 :) Sep 04 07:12:27 Thoughts on how to do that? Sep 04 07:12:44 Go into recovery and run factory reset. Sep 04 07:15:09 All I can find is factory data reset.. this is under the settings -backup and reset Sep 04 07:48:55 nice, i made empty mobile/wear app Sep 04 07:49:01 and it already exceeds 64k dex limit Sep 04 07:50:56 do you use ALL play-services libs? Sep 04 07:53:19 well it included one by default Sep 04 07:56:15 i can solve this of course Sep 04 07:56:25 but imagine a noob trying android dev for the first time Sep 04 07:57:45 its a shit scarry warning Sep 04 08:12:24 hi Sep 04 08:30:54 Hello all. I'm developing a specialized wikipedia browsing app for a client, and he would like me to implement ads. I'm thinking it would be nice to target advertising based on user interest as inferred from the wikipedia articles they tend to read, but I don't know very much about android ad networks. Are there any that allow me to target advertising based on user habits? Sep 04 08:40:33 the only one that has that info is google, so you should consider admob Sep 04 08:48:24 i have an activity with a fragment. the fragment hosts multiple UIs depending on what button is pressed in the activity layout. I initiate (and override methods) for my fragments in my activity but keep getting null pointer exception when I try to access any of the fragment UI elements Sep 04 08:49:59 after declaring my fragments in my activity, I attempt to access ui elements with: fragmentContainer = (TableLayout) myFragment.getView().findViewById(R.id.myFragmentTableLayout); Sep 04 08:51:33 are there example for create gui android app Sep 04 08:53:51 homa_: https://developer.android.com/guide/topics/ui/index.html is a good primer for android UI Sep 04 08:54:47 Jesperhead, this site is filter in my country and i don't have anti filter Sep 04 08:55:16 why is the android developer website filtered? that sucks Sep 04 08:55:28 well Sep 04 08:55:40 every thing in iran is filter Sep 04 08:55:47 oh Sep 04 08:55:54 use a vpn homa_ Sep 04 08:56:21 are there vpn free? Sep 04 08:57:14 yes. but i wouldn't trust them with confidential information like usernames and passwords Sep 04 08:57:39 but they should allow you to view the website Sep 04 08:57:56 raoul11, to be clear, what i would like is something like "the user is using my app to read a lot about graphics cards. So I would like ads related to graphics cards" Sep 04 08:58:53 im pretty sure most ad suppliers might promise such targeting, but i doubt they actually do Sep 04 08:59:04 some allow you to configure yourself the displayed ads Sep 04 08:59:17 like appnext Sep 04 09:00:58 Jesperhead, how can i use that? Sep 04 09:01:41 rufsketch1: http://i.imgur.com/BtuirvJ.png Sep 04 09:04:17 Jesperhead, Sep 04 09:04:18 raoul11, I see. So, nothing that can take advantage of Google's NLP magic to determine which article is relative to which interests? Sep 04 09:04:56 mayb look into admob + firebase analytics Sep 04 09:05:09 homa_, https://www.vpnme.me/freevpn.html https://www.vpnbook.com/ both of those should work and are free but again I wouldnt trust sensitive information Sep 04 09:05:15 havnt tried myself, but i doubt most third party suppliers will support that Sep 04 09:05:42 when i create user interface in .png format how can i set in android app Sep 04 09:10:18 raoul11, will look into that. Thanks. Sep 04 09:12:20 quick & easy vpn is built-in opera browser Sep 04 09:15:34 hey people Sep 04 09:15:39 I need help with this, urgently. Sep 04 09:15:42 which road should I go ? Sep 04 09:15:44 http://stackoverflow.com/questions/39310451/android-persistence-and-synchronization-of-application-state Sep 04 09:22:30 tilerendering: You need a object to be persisted and alive during use.. read from storage when you need it.. that's simple. Sep 04 09:23:47 When you adjust it, write it to storage and persist it to the server.. Sep 04 09:24:02 it's not really an interesting or urgent issue. Sep 04 09:24:30 the problems arise when I ask “when" Sep 04 09:24:56 the problem is that I have no event in the app to determine when variables hanging with a reference to the application object will be lost Sep 04 09:25:03 onterminate is not granted to be called Sep 04 09:25:10 so which event should I use ? Sep 04 09:25:18 to persist data before it s lost Sep 04 09:25:24 When you alter the object, do you use setters and getters? Sep 04 09:25:26 and which event should I use to load data ? Sep 04 09:25:44 baash05: I try to avoid that when possible. But I could use setters and getters Sep 04 09:26:02 Don't "avoid that" if possible. Sep 04 09:26:06 I dont understand why it is not possible under this operating system to have an exact answer to my question above Sep 04 09:26:23 it has nothing to do with the operating system. Sep 04 09:26:49 this question: “the problem is that I have no event in the app to determine when variables hanging with a reference to the application object will be lost. onterminate is not granted to be called. so which event should I use to persist data before its lost ?” Sep 04 09:26:56 of course this is a problem of the design of the OS Sep 04 09:27:03 the “onterminate” should be granted to be called Sep 04 09:27:07 or another event Sep 04 09:27:08 but I need one Sep 04 09:27:12 I need 2 to be exact Sep 04 09:27:28 application onTerminate is for debug only Sep 04 09:27:35 it wont be called on production Sep 04 09:27:36 so can you tell me which 2 events Sep 04 09:27:50 No.. it's not the OS man.. There are heaps of events you can catch when an activity is closing. Sep 04 09:27:58 but that's not how you should handle this.. Sep 04 09:28:02 I dont need events for when an activity is closing Sep 04 09:28:10 I want an answer to my question Sep 04 09:28:13 it is fairly simple Sep 04 09:28:27 it s the application, not the activity I target Sep 04 09:28:44 so which 2 events do I need ? Sep 04 09:28:51 if this is not an OS issue, what is ? Sep 04 09:28:52 Why not save the record every time it's changed? Sep 04 09:29:16 baash05: good god. why do you think we have things in memory ? to make expensive read/write operations to disk whenever something chnges ? Sep 04 09:29:19 why use memory at all then Sep 04 09:29:23 I dont believe this. Sep 04 09:29:37 sigh. Sep 04 09:29:54 Dude.. you're not asking for help in the right way. Sep 04 09:30:15 I m asking since yesterday and I get tired to explain what is obvious. Sep 04 09:30:21 I want things in memory. so why should I use disk Sep 04 09:30:26 everytime something changes Sep 04 09:30:29 that´s just basic stuff. Sep 04 09:30:36 ram/disk - not the same, different latency. Sep 04 09:30:50 else: what sense would my question make at all ?? Sep 04 09:31:27 True.. But the question doesn't talk of latency. Sep 04 09:31:32 you want to discuss whether this is an architectural issue of the operating system ? then I expect you to understand the issue. Sep 04 09:31:42 ok this is head-desk-overflow. Sep 04 09:31:45 l8r. Sep 04 09:31:51 There's nothing true about that. When you persist your data on disk has no effect on whether or not the data is also kept in memory Sep 04 09:32:04 Or how fast the data in memory can be accesses Sep 04 09:32:14 SimonVT: why Sep 04 09:32:20 because it could be in a cache, right ? Sep 04 09:32:22 yeah, it could. Sep 04 09:32:41 Also, when android kills your process it's because something else needs the memory. The user should not be punished because your slow af app needs to do whatever Sep 04 09:32:51 but what about just giving devs 2 basic events to control whether app state is going to be lost or restored Sep 04 09:33:08 Most people manage that with actvities. Sep 04 09:33:28 because that is the paradigm of a mobile device.. one screen at a time. Sep 04 09:33:37 the problem with activities is that the onpause is called even when a another activity is chained Sep 04 09:33:46 but I dont need to persist on onpause Sep 04 09:33:51 of an activity. Sep 04 09:33:55 i need to persist on onpause of the app. Sep 04 09:33:56 Retain data as it changes. That's how it should be done, and how everyone does it Sep 04 09:34:15 sigh. I cant believe this. Sep 04 09:34:23 How much latancy are you expecting to mitigate by saving during activity switch? Sep 04 09:34:41 baash05: more than when I do it using app events Sep 04 09:34:58 in total that is Sep 04 09:35:26 Right. but saving to disk on a mobile device is nuts fast. when compared to the overhead of switching activities. Sep 04 09:35:36 It wouldn't even be something most would measure. Sep 04 09:36:07 still why should I have persistence logic at the onpause event of every activity rather than just implement and maintain it once at application level Sep 04 09:36:14 this is just so wrong. Sep 04 09:36:55 See how SharedPreferences is implemented, it works exactly like I said Sep 04 09:36:55 I have to now write my own activity class and implement the persistence logic there, then make all my activities inherit from there and call super.onpause bla Sep 04 09:37:04 SimonVT: ok Sep 04 09:39:39 And a variation of that, think about how ContentProviders/SQLiteDatabases work. Activity queries and has a Cursor in memory for quick access. When a Service or whatever updates the database, the Activity(e.g. via Loaders) is notified and re-query the data. Both updating and querying happens on a separate Thread, leaving the Activity with fast memory access Sep 04 09:39:39 to the Cursor data while they happen. Sep 04 09:41:57 ok Sep 04 09:47:11 SimonVT: tbh I think I m going with this solution: have a thread syncing states between server, memory and local persistence. the thread queries the server periodically and is registered as an observer to the objects to be synced/persisted. whenever an object changes, it gets persisted. changes are triggered from user interaction + server. anything wrong with this design ? Sep 04 09:48:39 For periodic sync, use AlarmManager (or JobScheduler) and start a Service that checks your database (and of course doing networking on a new Thread). Sep 04 09:49:15 you could also use AsyncTask for the networking Sep 04 09:49:25 But don't Sep 04 09:49:47 any one know how can I install stock android on redmi note 3? Sep 04 09:50:00 SimonVT: why not? Sep 04 09:50:02 nicknight: Try #android or #android-root for help with your device Sep 04 09:50:21 AsyncTask is meant for fast operations (e.g. writing a file to disk, querying a database) Sep 04 09:50:23 SimonVT: I was going to say I d implement that “thread” as a service. the advantage being: I can send the user push notifications via the service even if the app is not loaded Sep 04 09:50:47 thanks SimonVT Sep 04 09:51:18 SimonVT: and for networking, I should use...? Sep 04 09:51:28 If you mix and match, and don't take care to use different executors, you might have ui tasks (loading data) being help up by slow networking Sep 04 09:51:31 because im using asynctask to get exchange rates atm Sep 04 09:52:18 Manage your own threads Sep 04 09:52:32 is a service more difficult to debug ? Sep 04 09:52:47 also: can I guarantee that the service is always running after installing the app ? Sep 04 09:52:57 furthermore: can a service send the user push notifications ? Sep 04 09:53:20 Further-furthermore, read the Service documentation Sep 04 09:54:13 You wouldn't have a Service that runs indefinitely Sep 04 09:56:37 when will it be spawned, when will it be shut down ? Sep 04 09:57:02 When you tell it to, and when you tell it to Sep 04 09:57:09 (ignoring process death) Sep 04 09:57:28 in this case, there is no gain from doing everything from the application Sep 04 09:57:42 if I want a service I want it as a service on the system running everytime the system goes up Sep 04 09:57:52 Why? Sep 04 09:57:52 and shutting down when the system goes down Sep 04 09:57:57 unless I tell it otherwise Sep 04 09:58:09 can that be done ? Sep 04 09:58:51 What do you mean go down? Sep 04 09:58:57 Yes everything can be done.. Sep 04 09:59:11 (but there's no guarantees) Sep 04 09:59:14 But, why? Sep 04 09:59:24 I mean you can detect when the applicaiton gets shut down. Sep 04 09:59:46 SimonVT: I want _one_ place from which push notifications re managed and sent Sep 04 09:59:54 I would like that to be a local service to the device Sep 04 10:00:09 also ideally it should be the same place where server sync takes place Sep 04 10:00:15 For push notifications you should use a service like FCM Sep 04 10:01:03 why if I can do it myself ? Sep 04 10:01:11 You can technically have a service that runs most of the time, but it can be shut down. Sep 04 10:01:22 Regardless of what you want. Sep 04 10:01:25 + it drains battery Sep 04 10:01:25 baash05: that´s bad Sep 04 10:01:30 yeah ok Sep 04 10:01:37 that´s true. Sep 04 10:01:44 Well worse that your user runs out of batteries. Sep 04 10:01:46 Don't hate your users Sep 04 10:01:52 true that too Sep 04 10:02:50 You can roll your own everything.. and if it's for interest sake you might be okay. Sep 04 10:03:07 no I m looking for best practices, but I like to discuss them Sep 04 10:03:16 and get to understand the “whys" Sep 04 10:03:19 which is greatly done here Sep 04 10:03:26 thanks for that Sep 04 10:03:38 Ah.. that makes it easier to take the questions. . Sep 04 10:04:21 The reason we don't roll our own ever living services is because they drain the batteries and there are already systems in place to handle push events. Sep 04 10:04:22 on - say - my workstation, I would implement that way. but yeah, if battery drainage is an issue, things change. if memory constantly is narrow, it changes a lot too Sep 04 10:04:35 ok I got that Sep 04 10:05:20 That's not how you come off. Telling people who give you the right answer that they're wrong and that it's "basic stuff".. Yeah, just looking for discussion and getting to know best practices for sure Sep 04 10:06:43 SimonVT: if that´s your opinion, that´s ok. Sep 04 10:12:32 Okay.. tilerendering I assume you're a desktop dev.. or web. Sep 04 10:12:45 totally cool if you are.. I am during the day. Sep 04 10:12:51 Is that right? Sep 04 10:12:54 yeah mostly Sep 04 10:13:21 I also did mobile dev, but for instance when I did j2me development, app state was managed at app level and we had events to handle that Sep 04 10:13:21 Okay.. so why we save as often as we do.. take a program you've got running on your laptop.. Got some data in memory. Sep 04 10:13:29 Now drop that laptop on the ground. Sep 04 10:13:36 From about 6 feet. Sep 04 10:13:52 What app event fired telling you to save the data to disk? Sep 04 10:14:15 non critical session data can be lost. it can get retrieved from the server anyway Sep 04 10:14:32 No no.. I'm talking about data in memory/ Sep 04 10:14:41 yes Sep 04 10:14:43 You want to not store data when it's changed. Sep 04 10:14:47 this is the data I keep there Sep 04 10:14:49 session data. Sep 04 10:14:57 in memory. Sep 04 10:15:19 now if that session data is lost, server state is still consistent. most of the data not persisted immediately is not really critical. Sep 04 10:15:31 I keep it in memory for latency reasons and faster access Sep 04 10:15:51 single page app? Sep 04 10:16:01 Most apps you write? Sep 04 10:16:18 I try to keep em that way Sep 04 10:17:00 cool.. that's not how android apps work.. each model form is a seperate entity. Sep 04 10:17:12 It is part of the hole, but treated distinctly. Sep 04 10:17:25 so when one model changes focus it saves it's data.. Sep 04 10:17:28 yeah I ve done apps like that too Sep 04 10:17:45 still I stored session-relevant data on the session level Sep 04 10:17:54 in this case, that would have been, so I guessed, at app level Sep 04 10:17:54 Keep in mind that the lantency to disk on mobiles is much less than the latency of the net. Sep 04 10:17:59 so the cost is so much less. Sep 04 10:18:03 ok Sep 04 10:18:21 so we save as often as we can to disk.. where it doesn't impact the user.. Sep 04 10:18:34 do you save asynchronously ? Sep 04 10:18:50 Not typically.. it's almost as fast as writing to ram. Sep 04 10:19:01 And it's not typically all that much info. Sep 04 10:19:03 just as I expected now Sep 04 10:19:06 ok Sep 04 10:19:23 now, say I have only 3 objects representing my app state Sep 04 10:19:24 system.loadlibrary("somelibrary"); <- can anyone tell me the location of this library file Sep 04 10:20:00 lib/arm-whatever/ Sep 04 10:20:02 You save them as often as they change. Sep 04 10:20:10 1) the current user (logged in), 2) a collection (can be very large) of purchase orders, 3) a collection of messages (can also be large). what db would you choose for persisting 2 and 3 Sep 04 10:20:11 which is why I asked about getters and setters. Sep 04 10:20:17 ok, let me check Sep 04 10:20:28 baash05: why wouldnt you do that through an observable Sep 04 10:20:46 You could, but it's not typical (AFIK) Sep 04 10:20:50 ok Sep 04 10:20:56 db recommendations for 2 and 3 ? Sep 04 10:21:07 I guess I d prefer something like mongodb Sep 04 10:21:42 Now keep in mind that I am a rails dev by trade.. and a mobile hobby guy. Sep 04 10:22:02 Question though.. did the large collection change? Sep 04 10:22:17 The user changed thousands of records in a given action? Sep 04 10:23:23 For the db.. I'm not the best to judge. Sep 04 10:24:09 does any one have good android google samples for tablet based apps? or good references. which i can study or checkout. Sep 04 10:24:38 Doesn't android studios come with a bunch that are easy to get. Sep 04 10:25:10 hi Sep 04 10:25:20 hi my friends Sep 04 10:26:16 actually I am looking something with material design for tablets... and material design guidelines cnfusing me.. Sep 04 10:26:51 The company I work with tends to keep the data in our back end and serves it up on demand. We persist as little as possible on the box. Sep 04 10:26:55 device. Sep 04 10:27:39 We have users who are doing 10 orders a day, and have been for several years. Sep 04 10:28:00 That paradigm has been working well for us, and I don't see us changing it. Sep 04 10:28:52 baash05: no but I dont want the user to retrieve his message history for instance. there s no need for that. he can just keep them stored on his side, they re very improbable to change over time. typically during one session there will be one more record in orders and 2 more in messages Sep 04 10:29:29 they can grow large enough however. say 1000 orders + 2000 messages Sep 04 10:29:30 Okay.. then you don't have to stress about there being a lot of them.. he'll save them no problem. Sep 04 10:29:39 loading them everytime completely into memory is maybe not such a cool thing Sep 04 10:29:52 Nope.. Sep 04 10:30:03 keeping in mind that you can't display 1000 of them in a go. Sep 04 10:30:06 so absically I want to keep them in a db-like manner locally Sep 04 10:30:17 and retrieve details only when needed Sep 04 10:30:23 like: display msg with id 4 Sep 04 10:30:32 What happens when the user drops their phone in a toilet? Sep 04 10:30:34 or retrieve orders from 1st-31st of august Sep 04 10:30:48 what happens to the messages stored locally? Sep 04 10:30:54 if application data is damaged it will be resynced from server Sep 04 10:31:11 shouldnt happen a lot Sep 04 10:31:13 so you'll only ever display a couple dozen.. Sep 04 10:31:21 yeah Sep 04 10:31:33 Will the user be online when they use the app? Most of the time? Sep 04 10:32:34 i guess so. but the typical usage time is fast. and the user wants to get his stuff done very fast Sep 04 10:32:43 fast=narrow Sep 04 10:33:54 So when a record changes save it sync to the DB. and send it to the server via typical transmissions. Sep 04 10:34:06 They work async out of the box. Sep 04 10:34:32 ok, i found the libraryfile.so can i use it to decode the string it encodes? it was being used to encrypt data. i know the method name too Sep 04 10:34:45 ok Sep 04 10:35:24 however, when a purchase order changes state from the server side, the update needs to be propagated to the client. and this is where I would use either a service or a thread Sep 04 10:35:39 This you do with push event handling. Sep 04 10:36:10 how fast are they typically ? say a statechange is done on the server. how fast will the user typically get it ? Sep 04 10:36:12 If the order data is small enough, you can even include that in the push event. Sep 04 10:36:20 should be under 4kb Sep 04 10:36:32 of json Sep 04 10:36:36 Not sure on the size limits of json. Sep 04 10:36:47 anyhow, any idea about latency ? Sep 04 10:37:16 couple minutes, if your push events are fired quickly. Sep 04 10:37:22 too long Sep 04 10:37:34 at least for certain usage scenarios Sep 04 10:37:55 so I d have to have a mix of push notifications and polling by service/thread Sep 04 10:37:56 could be faster.. I'm not sure. Sep 04 10:38:03 Yep.. you would Sep 04 10:39:01 but my thought was: if I implement it as a service, I could do the polling + serving push notifications myself. the advantage being: if the user is interacting with the app, push notifications would be turned off but polling would directly update the observer in the app Sep 04 10:39:31 when the app however is in the background or not there, the service would poll at lower rates and push notifications would be turned on Sep 04 10:39:36 Yeah.. but comming from web you don't typically care about networking or battery. Sep 04 10:39:46 you have a powered device on a fast connection. Sep 04 10:39:52 Not so in mobile. Sep 04 10:40:05 ok is there a way to turn push notifications off or to catch them while the app is in the foreground + the user interacting with it ? Sep 04 10:40:25 Yeah.. the app does catch them when in the forground. Sep 04 10:40:34 what would be the event ? Sep 04 10:40:58 Honestly I don't know.. I'm a hobby guy.. I send the messages to the mobile guys.. Sep 04 10:41:16 or: where would I implement what should be done with the caught notification ? Sep 04 10:41:18 I do know that both IOS and Android guys catch the events when the app is running. Sep 04 10:41:24 ok Sep 04 10:41:34 so basically I m set up and know what I need to know Sep 04 10:41:38 please give me a guide for user interface Sep 04 10:41:44 except for: mongodb for android Sep 04 10:42:20 when i create user interface in .png format how can i set in application Sep 04 10:42:58 are there class for manage .png formant as gui Sep 04 10:43:01 Not sure why you like mongo for this.. It's not suited for your needs. Sep 04 10:43:06 Not as I see them.. Sep 04 10:43:25 As the group what they think.. But you don't need a write optimized db. Sep 04 10:43:26 baash05: easy object retrieval reasonably fast + no table definition or construction needed Sep 04 10:43:44 no orm required Sep 04 10:43:48 those are the pros Sep 04 10:43:54 you don't have an ORM? Sep 04 10:43:56 i dont see the cons Sep 04 10:44:01 ERD. Sep 04 10:44:03 I dont want one if not needed Sep 04 10:44:23 The cons are they are slow to read and grow in size rather fast. Sep 04 10:44:34 "slower".. Sep 04 10:44:35 the db is small Sep 04 10:44:48 as I said typically 1000 orders + 2000 messages Sep 04 10:44:53 when i create user interface in .png format how can i set in application Sep 04 10:45:07 typical max size = 12mb Sep 04 10:45:32 max 2000 entries Sep 04 10:45:41 I dont know any db having performance problems with that Sep 04 10:45:42 Ah.. well you're not writing them at 2000 entries a second. Sep 04 10:46:02 no but read performance should be ok and no orm needed Sep 04 10:46:15 why introduce extra complexity + maintenance issues Sep 04 10:46:35 also has the advantage that the object structure can vary Sep 04 10:46:39 over time Sep 04 10:46:48 tilerendering, Sep 04 10:46:56 True.. but then every db would do you.. just write to a blob. Sep 04 10:47:01 homa_. Sep 04 10:47:12 baash05: sure, but blobs are not easily filtered Sep 04 10:47:14 But as I said.. the crew will have a better answer.. I'm off to tea. Sep 04 10:47:22 enjoy and thanks Sep 04 10:47:24 a lot Sep 04 10:47:27 ! Sep 04 10:47:51 tilerendering, when i create user interface in .png format how can i set in application Sep 04 10:47:58 homa_: your user interface is a .png file ? Sep 04 10:48:02 remember when you ask questions.. these people can block you from this channel and they don't have to be nice. give em a chance to be nice. Sep 04 10:48:29 tilerendering, what format must be? Sep 04 10:48:37 they are nice and I expressed my thanks many times too. but when I think I am right with something or debate, I always put some emotion in it Sep 04 10:48:40 it s never personal Sep 04 10:49:07 homa_: I m new to android development but user interfaces are typically either design in android studio using the xml editor or their layout tool Sep 04 10:49:15 design=designed Sep 04 10:49:16 Hi, I am trying to incorporate aFileDialog into my android app. I am using android studio 2.1.3 the documentation says that I should import a reference to the library. But how do I do that? Nothing I have found on google seems to work. Sep 04 10:49:48 tilerendering, we can use photoshop to create gui Sep 04 10:49:55 homa_: aha ? Sep 04 10:50:13 baash05: where are you based ? Sep 04 10:51:17 are there everybody that can answer me? Sep 04 11:10:31 are there every body here? Sep 04 11:15:31 homa_: what are you developing ? Sep 04 11:18:17 tilerendering, i want create learning language app Sep 04 11:18:53 ok for which language ? Sep 04 11:20:18 tilerendering, can you answer me about set photoshop file as user interface Sep 04 11:20:59 homa_: I answered you already Sep 04 11:21:14 tilerendering, what? Sep 04 11:21:20 homa_: I m new to android development but user interfaces are typically either design in android studio using the xml editor or their layout tool Sep 04 11:21:31 and I dont know of anybody doing user interface design by photoshop Sep 04 11:21:42 but perhaps we re misunderstanding each other or there are things I dont know Sep 04 11:22:30 ok tilerendering and Do not bother Sep 04 11:23:23 well if there was a tool to generate an android UI out of a png, I would totally fancy that. if useful. Sep 04 11:24:23 do not bother Sep 04 11:25:15 i'm not new in android programming and java but i'm beginner in user interface in photoshop Sep 04 11:25:53 this isnt a photoshop channel /: Sep 04 11:26:47 raoul11, yes i know Sep 04 11:27:08 but i want set .png file as user interface Sep 04 11:29:31 ImageView, ImageButton, background attributes Sep 04 11:31:16 esfahan the city of oranges Sep 04 11:33:45 tilerendering, where are you from Sep 04 11:34:14 raoul11, and how can i handle button Sep 04 11:34:39 homa_ you said you're not new to android programming Sep 04 11:34:59 i create button in .png file Sep 04 11:37:22 if you're not willing to learn the basics, i doubt ull get much help here Sep 04 11:40:56 homa_: maybe watch some video on how to begin android development Sep 04 11:41:25 hi, i have a little problem, i have a recyclerview with a gridlayoutmanager, everything works fine but theres a little blink for the first call to notifydatasetchanged... after that first blink everything is normal Sep 04 11:41:57 no blinking after, even if i modify items and update them Sep 04 11:42:14 anyone knows how to fix this little problem Sep 04 11:44:25 tilerendering, do you know java Sep 04 11:44:47 yes Sep 04 11:45:23 what do you mean by .png to button :o Sep 04 11:45:51 how long time ? tilerendering Sep 04 11:46:06 .png is just how designer wants to see the button. you make and style that button by yourself. no magic converter png -> button that i know of Sep 04 11:46:16 homa_: about 15 years Sep 04 11:48:54 tilerendering, how old are you? Sep 04 11:50:10 40 Sep 04 11:52:32 kids today... Sep 04 11:53:39 hehe Sep 04 12:14:02 Leeds: aren't you asleep? Sep 04 12:15:22 Hi guys! I just found out that SQLite table might not be deleted after application is uninstalled. In the past it didn't work like that and all the tables were always deleted on app's uninstall. Why might this happen? Sep 04 12:15:49 thepoosh: it's 20:17 here, so no - about to pop out to get some food Sep 04 12:16:08 AlexBerdnikov: how did you find this out? Sep 04 12:16:24 leeds: australia ? Sep 04 12:16:32 AlexBerdnikov, https://developer.android.com/training/backup/autosyncapi.html Sep 04 12:17:03 tilerendering: what about Australia? Sep 04 12:17:30 I wondered whether you are based in australia Sep 04 12:17:50 nope Sep 04 12:18:49 14:18 here :-) Sep 04 12:18:59 Leeds, I unistall the app, and then when I intall it back by running it from AS, it crashes on SQL query which creates my only table in the app and it says that the table is already exists. Moreover, I can see all the old and outdated data in the table with Stetho. Sep 04 12:19:44 how do you uninstall the app? Sep 04 12:20:08 In the past, when the app is in development phase I often run uninstall just to clear all th estuf and recreate the tables without running any ALTERs/ Sep 04 12:20:40 Leeds: Settings -> Apps -> My_App -> Uninstall Sep 04 12:21:18 Leeds: I will allow Sep 04 12:24:19 * raoul11 flicks thepoosh's yamaka off Sep 04 12:25:19 App data is still deleted on device uninstall, AlexBerdnikov. For some reason your device is messing it up Sep 04 12:26:14 tilerendering: Hong Kong, and afk Sep 04 12:26:56 SimonVT, it seems like that, because I test it on thre diferent devices and the only device where I get that is Nexus 5x Sep 04 12:27:16 I also have Sony Xperia Z1 and Samsung Galaxy S5 Sep 04 12:27:20 They work fine Sep 04 12:27:26 In this context Sep 04 12:27:37 Probably just that 1 app you'll have issue with as well Sep 04 12:42:19 raoul11: hai Sep 04 12:50:29 guys I really can't get rid of this error that sometimes appears when I run the project: Multiple dex files define viewpager Sep 04 12:57:35 is there a dominator tree in AS? Sep 04 12:57:46 finding the MAT plugin quite weird here Sep 04 13:21:32 thepoosh: because I know you're waiting... I got miso soup, salmon sashimi, and a tuna sandwich, plus a salad for lunch tomorrow. Sep 04 13:21:45 yum Sep 04 13:22:59 there are at least 4 takeaway sushi shops in my neighbourhood now :) Sep 04 13:23:50 well, here we have one not so good and not so fresh one in the mall Sep 04 13:23:52 so... Sep 04 13:23:55 no sushi for me Sep 04 13:25:28 went to a posh place somewhere around Herzliya last time I was there... was eating it in Tokyo last week! Sep 04 13:33:06 hmmm... im working with JSON objects/arrays and want to easily integrate it into a multiclick spinner (pop up) where JSONObjects are categories, but when clicked, populate into choices from the JSONObject's array Sep 04 13:55:43 hi my friends Sep 04 14:07:11 hello I have a package called database inside my main package, and I have a java file inside pkg database that wants to import another package inside the main package is there a problem here? Sep 04 14:07:40 rather it wants to import a file inside another package that is inside the main package Sep 04 14:09:04 cannot resolve symbol is what i am getting Sep 04 14:09:31 am I in the wrong channel? Sep 04 14:10:03 nah I think i am alright lol Sep 04 14:12:58 oh my god Sep 04 14:13:01 please forgive me Sep 04 14:13:03 it was a typo Sep 04 14:13:58 i couldnt see it as android studio was only showing me error in one file where the typo wasnt there Sep 04 14:18:20 glad to be helpful Sep 04 14:18:22 next! Sep 04 14:19:16 hi Sep 04 14:20:36 good afternoon Sep 04 14:23:28 I can put anything as my developer name, right? Google won't bitch if I don't use my real name? Sep 04 14:26:44 I remember that I put my real name because of some legal thing specific to my country Sep 04 14:26:58 Me being a legal freelancer and stuff Sep 04 14:30:16 Screw it. I'm changing my name. Sep 04 14:59:00 hello, I have developped a responsive web application, is it wrong to use webkit to show the whole application in android? would it differ much than an application with native ui that has to store what it needs on the remote server? Sep 04 15:07:54 motaka2: apps are better from a user perspective, but more time consuming for dev; how it would differ is up to you & the app there's no straight answer, but if the app implies complex interactions it would sure benefit a native ui app Sep 04 15:09:07 bluk: i want to load pages jenerated by prime faces, I just want the app be usable Sep 04 15:11:08 Hi, I imported the aFileDialog into my project and use it. Now my application shows up with the name aFileDialog in the android activity manager. What gives? Sep 04 15:13:13 motaka2: try it throught web, using a not-too-fast connection, then you'll have an idea if it's reasonable Sep 04 15:13:48 bluk: so you mean it should be native? Sep 04 15:14:12 motaka2: only after testing oyu will know; I can't say, but it's likely Sep 04 15:15:06 bluk: ok, the app has around 100 forms, would be very big when I put it in google play? I mean the size of the application Sep 04 15:16:15 motaka2: not necessarily, as long as forms are not bundled with images or media stuff; if it's just text it should be fine Sep 04 15:16:50 is there a way to convert a web ui to android web ui ? Sep 04 15:17:54 unless you're programmign cross-platform since the start it's not likely Sep 04 15:19:24 bluk: how to do that? Sep 04 15:20:20 motaka2: for this question, you'd better ask in primeface forums (or find their irc support channel) Sep 04 15:20:51 do i need to create a new fragment manager/transaction everytime i replace a fragment? Sep 04 15:23:46 bluk: how much would be the size of 100 formsthat each has abou 5-6 fields? Sep 04 15:26:27 motaka2: not much, if it's just strings Sep 04 15:27:02 bluk: do things like phonegap generate perfomant apps? Sep 04 15:27:25 never used it Sep 04 15:29:09 what about react native? Sep 04 15:30:38 motaka2: you already programmed your app with primeface? Sep 04 15:31:22 bluk: no I have just strated, about 2 days Sep 04 15:31:53 I see; enought to have a test sample with some forms? Sep 04 15:31:54 good morning :) Sep 04 15:32:04 sup drinfernoo Sep 04 15:32:20 bluk: Not so much code, I know js and node.js and php. I am ready to change technology Sep 04 15:32:32 just another day lol k Sep 04 15:32:49 idk where that k came from lol Sep 04 15:34:04 motaka2: read reviews/comparisons, such as http://stackoverflow.com/questions/33286451/phone-gap-vs-react-native Sep 04 15:35:56 bluk: by this link you meant react native is good enough ? Sep 04 15:36:25 I don't mean to promote any, but you should investigate yourself on that Sep 04 15:36:48 however for a form-only application, I'm not sure you'd have to go cross-platform Sep 04 15:39:00 bluk: ok since i dont know java for android and objecti-ce for ios and you say phone gap sucks , i have no other choice Sep 04 15:39:32 motaka2: I never said that phonegap sucks Sep 04 15:39:34 what does this means? "however for a form-only application, I'm not sure you'd have to go cross-platform" Sep 04 15:40:30 anyone have good examples of apps with nice forms/wizards? Sep 04 15:41:18 motaka2: it means I think it wouldn't be too hard maintaining separate code-bases, but if you never programmed on native android/ios, maybe it's worth it Sep 04 15:41:31 could someone help me with xmlpullparser, I am trying to parse this xml from an rss feed, i need to get into the channel, item and then title, description and image url. I know the issue is i am only going into the channel tag but i'm a bit lost how to get into the item tag, any ideas, this is my code http://pastebin.com/QcdPMssJ Sep 04 15:42:25 bluk: what do you think of it? https://www.codenameone.com/ Sep 04 15:48:06 how do i step into the tags? Sep 04 16:05:43 motaka2: can't find a lot of negative reviews that's a good sign Sep 04 16:06:26 however it seems to not support windows phones as it does android/ios Sep 04 16:07:47 ha ha ha windows phones Sep 04 16:08:37 He just *had* to laugh at windows phones right before quitting :D Sep 04 16:09:38 when i try to use this code in a class from one of my activity codes ; for eg : String getName = myDbObj.retrieveData(); i get a NullPointerReference error Sep 04 16:09:43 code --> https://dpaste.de/R7Nt Sep 04 16:09:58 why is thst Sep 04 16:10:04 *that Sep 04 16:11:04 myDbObj is probably null then Sep 04 16:11:46 ive initialized at the top of my activity class as --> DatabaseHelperClass myDbObj; Sep 04 16:12:11 I have a values folder -sw600dp and one vanilla "values" , but when I run the app on a Nexus 7 which should be 600dp in width, it still takes values from the vanilla "values" folder? Anyone had this before? Does it have to be 601dp width for it to recognize that folder as the correct one? Sep 04 16:12:45 superKiller: as long as you don't assign it some non-null value, it keeps it's original value: null Sep 04 16:13:11 doing "SomeType someVar;" doesn't initialize someVar, it's null Sep 04 16:13:15 yeah that's declaring it, not assining it to a new instance Sep 04 16:13:52 aah! im so stupid Sep 04 16:14:06 bluk: sorry about that! Sep 04 16:14:08 VerbalKint, WP deserves a laugh Sep 04 16:14:33 I've heard many times WP are actually great Sep 04 16:14:39 Very smooth os Sep 04 16:14:43 lol no problem superKiller Sep 04 16:15:48 yeah I hate WP myself, just had to mention the lib he talked about seemed to had poor support for those (but I secretely don't care) Sep 04 16:16:02 hey guys, anyone experience with xmlpullparser? Sep 04 16:24:08 Sure Sep 04 16:29:52 are you replying to me SimonVT? Sep 04 16:30:11 Yeah Sep 04 16:30:54 you got 2min to help me out with someone that is probably very simple, i’m tying to parse an xml with nested tags Sep 04 16:31:23 What's the issue? Sep 04 16:31:30 I am trying to parse this xml from an rss feed, i need to get into the channel, item and then title, description and image url. I know the issue is i am only going into the channel tag but i'm a bit lost how to get into the item tag, any ideas, this is my code http://pastebin.com/QcdPMssJ Sep 04 16:32:00 when i parse with my code it just steps past the channel tag, i need to go into it to get the items Sep 04 16:33:33 It goes through all tags, top down Sep 04 16:33:57 So you'll get a START_TAG for channel, item, etc.. As well as a END_TAG Sep 04 16:34:01 You want to read the values in START_TAG Sep 04 16:34:23 At least that's what I did Sep 04 16:35:59 Didn't have issues with it skipping any tags Sep 04 16:38:14 sorry i mis typed that, it goes to channel, then title, then description but deson’t got any further, any ideas? Sep 04 16:39:20 Your tags seem a bit mismatched Sep 04 16:39:37 You start a new record when you reach the "channel" tag, and add it when "item" ends Sep 04 16:39:49 You'd think those would be the same Sep 04 16:41:07 yup Sep 04 16:41:12 Try just logging all tags in start/end, I'm sure they're all there. If not, you have other issues Sep 04 16:41:18 If they are, your logic is flawed Sep 04 16:42:37 ok thx Sep 04 16:43:04 did you see my rss feed? Sep 04 16:43:18 Nope Sep 04 16:53:39 ok no probs it was on my pastebin, thx Sep 04 16:56:02 Ah, well there's only 1 tag in that feed Sep 04 16:56:09 So you get 1 item Sep 04 17:08:01 Great, the Google Play Console enabled Drive API for my game without me requesting it Sep 04 17:22:30 hi my friends Sep 04 17:23:23 Hi :) Little discussion: TCP or UDP for RTS-Game (Java)? Your opinion? Sep 04 17:25:04 DominikST95: I don't see why you would need UDP Sep 04 17:25:52 you can't certainly afford to drop packets or rearrange their order for an RTS game Sep 04 17:27:51 I fear, that TCP is too slow compared to UDP, so I thought to implement flow control and reliability on my own...(there are blogposts on this topic) Sep 04 17:29:29 How should I handle connection timeouts with OkHttp ? Catch the exception and re-try ? Sep 04 17:30:00 Hey. Sep 04 17:30:39 Does anyone familiar with Android Studio know if it's possible to configure it to break on unhandled exceptions? Sep 04 17:30:55 g00s: i've been surprised by the amounts of meh i can produce in one day Sep 04 17:32:47 ohi thepoosh Sep 04 17:33:14 סאפ Sep 04 17:33:25 back from joggin Sep 04 17:33:37 need to write like 5 more lines of code today Sep 04 17:33:44 raoul11: I'm in ramat gan tomorrow Sep 04 17:33:49 wanna drop by? Sep 04 17:34:04 nah, you might hire me Sep 04 17:34:31 kiddin btw, got so much work to do this week Sep 04 17:34:34 thepoosh what is your personal record ? Sep 04 17:35:15 g00s: probably something like 20 mega-meh per second per second Sep 04 17:36:14 thepoosh one of the articles is about activity lifecycle, lol Sep 04 17:36:19 i guess things are getting slowww Sep 04 17:36:45 thepoosh: http://i.imgur.com/nYHtHJC.mp4 Sep 04 17:37:10 g00s: you forgot the one about ImageView scaleType Sep 04 17:37:40 lol, i was thinking those pics should have been in the d.android.com docs like in 2009, but this is boring :) Sep 04 17:37:44 raoul11: https://s-media-cache-ak0.pinimg.com/originals/4c/09/35/4c0935309f8248119e7fdbb4ce45eb03.gif Sep 04 17:38:11 what dis, hunger games? Sep 04 17:38:44 facebook feed Sep 04 17:39:54 ewww Sep 04 17:40:02 i closed my fb in 08 Sep 04 17:40:30 imgur/reddit > Sep 04 17:43:26 raoul11: http://i.kinja-img.com/gawker-media/image/upload/aoz8kgx8pzknypz7z38n.jpg Sep 04 17:43:57 fb stinks thepoosh Sep 04 17:44:12 that's probably why we get along so well Sep 04 17:44:34 almost got me fired from a job back then, when they introduced tagging Sep 04 17:44:50 ?! Sep 04 17:45:01 boss caught me lying Sep 04 17:45:19 coz a friend tagged me in another place Sep 04 17:45:57 oh, you little n00b Sep 04 17:46:09 should've disabled tagging a long time ago Sep 04 17:46:23 that was in 08 Sep 04 17:47:09 fb is evil Sep 04 17:47:37 see thepoosh, g00s agrees. Sep 04 17:48:06 that is what lame people do in a crowd Sep 04 17:48:14 g00s: YOU ARE LAME!!! Sep 04 17:48:27 people don't understand how fb / etc data will be used against them in the future Sep 04 17:48:38 and it will be used against you Sep 04 17:48:54 speaking of facebook, why is their android sdk so effin huge? Sep 04 17:48:59 oh, you know thepoosh ? car insurance up +5%, he's a looser ;) Sep 04 17:49:22 raoul11 nothing else scales ... Sep 04 17:49:23 lol Sep 04 17:49:23 raoul11: it's not as big as you think it is Sep 04 17:49:31 its 25mb thepoosh ? Sep 04 17:49:39 dats pretty big Sep 04 17:49:43 how many methods? Sep 04 17:49:49 i just need login/share Sep 04 17:50:00 mayb future ads support Sep 04 17:50:25 it seems strange including it in an app that weight 3-4mb Sep 04 17:50:25 so integrate that! Sep 04 17:52:38 thepoosh wut is this Paginize lib Sep 04 17:52:53 defuq?! Sep 04 17:53:02 meh Sep 04 17:53:10 thepoosh from AW Sep 04 17:53:28 oh, didn't look Sep 04 17:53:37 didn't care enough to continue to the libs section Sep 04 17:55:02 DominikST95: you might gain a few milliseconds, are you sure it's worth it? Sep 04 17:55:13 thepoosh thats powerful meh Sep 04 17:55:27 i was at like peta-meh Sep 04 17:57:42 @blub I don't know....aren't there problems with re-syncs after a package is lost? Sep 04 17:58:45 if you mean a packet, TCP handles that for you at the lower level Sep 04 17:58:54 it would be a problem for you with UDP tho Sep 04 17:59:34 but this is independent from UDP or TCP choice, if you consider that network can loose packets anyway Sep 04 18:00:59 Yeah, I know :) What I mean: I loose a packet, then TCP will issue a re-sync, so that the last X packets are resend...this will be critical for performance / latency, right? Sep 04 18:01:15 then, who cares? It's the user stuff not yours that gets lost Sep 04 18:03:10 everybody knows that you can't trust the Internet. Got something important to send? Use snail mail Sep 04 18:04:02 DominikST95: it would be critical if you have continuous action like in FPS, where you need to be always updated of the last gamestate; depends on your RTS I guess Sep 04 18:04:22 also, you can still use prediction and update gamestate accordingly when you receive the packets Sep 04 18:05:33 but I still don't see how UDP would help, it's the same story if a packet is lost, you'd have to adjust anyway Sep 04 18:06:18 In UDP I could control it in TCP I can't :) Sep 04 18:06:34 But I think, I'll take the TCP approach for now :) Sep 04 18:07:43 I'll just make it clean, so I can switch, if TCP does not work as intended :) Sep 04 18:08:17 DominikST95: you should always make it clean Sep 04 18:08:24 I know, I know :D Sep 04 18:09:27 My style is improving, but I worked in a company that didn't program toooo clean :D So their style is still visible, but I'm working on it :D Sep 04 18:09:55 Good :-) Sep 04 18:10:05 Are you developing a videogame? Sep 04 18:10:50 thepoosh this is crazy https://news.ycombinator.com/item?id=12425353 Sep 04 18:10:57 Yeah :) I had the idea a long time ago, but never had the time to develop it. I have 5 weeks off now, so I can finally do it :) Sep 04 18:11:06 i might be old, but i read that and still can't figure out what the offense is Sep 04 18:11:28 i guess the inclusivity group is some kind of social justice warrior thing Sep 04 18:12:05 imagine giving a talk at a tech conferemce, even for something so boring you risk having your ass handed to you Sep 04 18:12:48 Also I use this project to bring the last three years of university to a good use :D And as it combines most relevant fields, I think it's a good project for it (although it is a tough one :P) Sep 04 18:13:14 DominikST95: what kind of game is it? Sep 04 18:13:40 RTS (real time strategy) :) Yes, on mobile :D Sep 04 18:14:58 whats the game? Sep 04 18:15:45 orbyt_: the game he's developing Sep 04 18:15:48 g00s: that's old news Sep 04 18:16:14 *trying to develop...Currently I have.....the entities :D Sep 04 18:16:57 DominikST95: cool. I never played a RTS game Sep 04 18:17:48 Arancio: Yes whats it called and whats the objective Sep 04 18:19:30 I also didn't play them that much (except Company of Heros...this thing is awesome :)), but I think it would be a fun project :) Sep 04 18:19:58 It has no name, and the objective is -as almost always- to take all enemy bases :) Sep 04 18:25:39 actually I never played much with videogames in general Sep 04 18:28:07 Ah, okay :) I did, but it reduced to to work and university :I Sep 04 18:28:10 *:) Sep 04 18:30:02 Do you think you are going to become a millionaire with this game? Sep 04 18:31:44 Tbh: I don't care :D It would sure help, but I don't expect it :D Sep 04 18:32:29 have fun developping it :) Sep 04 18:32:45 I'll start in a new company in October, so I get paid, I have three years of university ahead...so....fun is the main reason to make it :) Sep 04 18:33:15 Ok, I wish you to become millionaire anyway Sep 04 18:33:18 as you asked about udp/tcp I guess it's multiplayer rts? Sep 04 18:35:11 Correct :) And thanks :) Sep 04 18:38:30 the original starcraft was udp based because it relied on player-to-player communication once the game was started (at the time we mostly had 56k modems tho) Sep 04 18:39:00 I guess you don't plan on using this type of topology tho Sep 04 18:39:09 hi, i have a little problem, i have a recyclerview with a gridlayoutmanager, everything works fine but theres a little blink for the first call to notifydatasetchanged... after that first blink everything is normal Sep 04 18:41:27 No, no, I don't want that :D Sep 04 18:42:20 Candyman, what do you mean by "a little blink"? Sep 04 18:46:42 what do you use to capture the action from Android Emulator? Sep 04 18:51:57 Arancio: what do you mean "action", like screenshots, video, etc? Sep 04 18:52:23 "action" as in "what is happening". Yes, a video Sep 04 18:52:41 then use screenrecord from adb shell Sep 04 18:53:51 https://developer.android.com/studio/command-line/shell.html#screenrecord Sep 04 19:01:43 bluk: thanks. I'm also trying to follow these instructions: http://stackoverflow.com/a/31547690 Sep 04 19:03:37 any trouble so far? Sep 04 19:04:07 I have created 3 tabs on the top of my activity, below the Toolbar (AppBar/ ActionBar). However, there is a hoirzontal (separation) line between the Toolbar and my tabs. I want to integrate my tabes seamlessly into the Toolbar (for example, see the youtube app mainpage, you see 3 tabs below the toolbar without a separation line). How can I achieve this? Sep 04 19:04:38 put the tabs in the toolbar Sep 04 19:04:44 pfn how? Sep 04 19:05:10 appbarlayout also deals with this Sep 04 19:05:23 Cmaj6 check out cheese square github Sep 04 19:07:43 Can't I have the Android Device Monitor active AND debug an application? Sep 04 19:07:51 no Sep 04 19:08:15 Why this page says I should to it? http://stackoverflow.com/a/31547690 Sep 04 19:08:42 It says DDMS should allow me to capture a video of the emulated device Sep 04 19:09:38 but I don't see the recording controls. It's all different Sep 04 19:12:49 LogCat says "Meow" Sep 04 19:14:08 just adb shell screenrecord and call it a day Sep 04 19:15:27 I guess I'll do that Sep 04 19:17:54 * raoul11 slips acid into DrGonzo's tea Sep 04 19:18:05 thx Sep 04 19:19:18 Where do I type the adb commands? Sep 04 19:19:52 Not the Terminal window I guess Sep 04 19:20:13 Not a command prompt Sep 04 19:20:24 Sure you do Sep 04 19:21:15 add platform-tools to your path Sep 04 19:52:11 bluk and pfn: thanks. I did it! !!! ! Sep 04 19:55:57 good job Sep 04 20:57:16 Why isn't anybody discussing anything here? Sep 04 20:57:20 Discuss! Sep 04 21:13:12 How is that layout that hosts only one child called? Sep 04 21:17:09 pointless Sep 04 21:28:22 pfn: "FrameLayout is designed to block out an area on the screen to display a single item. Generally, FrameLayout should be used to hold a single child view, because it can be difficult to organize child views in a way that's scalable to different screen sizes without the children overlapping each other. You can, however, add multiple children to a FrameLayout and control their position within the FrameLayout by assigning gravity to each child, Sep 04 21:28:22 using the android:layout_gravity attribute. " Sep 04 21:29:35 anyone worked with ndk? Sep 04 21:30:39 vb0x3f: not me Sep 04 21:31:04 LucaRood: hello. How were the Olympic Games? Sep 04 21:31:07 Arancio: okay Sep 04 21:34:20 Arancio: I wouldn't know :P I guess they were pretty average to underwhelming :\ Sep 04 21:38:23 LucaRood: Next time you'll do better! Sep 04 21:39:32 Arancio: I wasn't at the Olympics though :) Sep 04 21:40:33 LucaRood: "you" as in "Brazilians" Sep 04 21:46:35 Arancio: Yeah, I figured :P though I don't really care about that patriotism stuff (plus I'm only half Brazilian), I meant the Olympics were underwhelming in general. Sep 04 21:47:04 Also, what's with the green water?! Sep 04 21:48:55 hydrogen peroxide Sep 04 21:49:24 I read Brazil is not in good shape now. So hosting Olympics must have been a huge effort. Sep 04 21:50:24 Also usually hosting Olympics is sold as an operation that should result in a net gain for the host country but the reality is that it's basically always a net loss Sep 04 21:51:04 So has been in all recent Olympics regardless of the host country Sep 04 21:51:54 and brazil also hosted the world cup in 2014 Sep 04 21:54:24 Yep, the trouble is that when Brazil what selected to host, the country was actually going through a pretty good phase. Sep 04 21:55:03 But it only went down-hill from there, and now we're where we are... Sep 04 21:57:55 Now you'll become billionaire with your Android app and will save your country Sep 04 21:58:02 LucaRood, where are you from in brazil? Sep 04 21:58:36 i'm from Parana state countryside Sep 04 22:00:02 Southern Brazil Sep 04 22:00:07 bitkiller: Alkmaar, Netherlands haha. Though I currently live in the south of Minas Gerais. Sep 04 22:00:44 you aren't that far Sep 04 22:00:58 Only San Paolo between you Sep 04 22:01:15 not in space Sep 04 22:01:20 but very far in time Sep 04 22:02:06 Hi, I'm making a custom rom but how do I set permissions in my custom rom? Sep 04 22:02:24 Arancio: are you some kind of Brazil aficionado? :D Sep 04 22:03:04 LucaRood: no, just curious :D I was looking for you guys in google maps Sep 04 22:04:25 Arancio: I plan on heading back to Europe soonish though. Sep 04 22:05:46 i intend to leave brazil, but not soon Sep 04 22:06:33 bitkiller: I assume you were born here, right? Sep 04 22:06:57 why nobody is answering my question Sep 04 22:07:20 LucaRood, yep Sep 04 22:07:39 SP state Sep 04 22:07:49 android-dev196: your question is vague Sep 04 22:08:02 why Sep 04 22:08:22 how can I set permissions in my rom? Not a flashable zip file Sep 04 22:08:32 android-dev196: 1) asking why nobody is answering a question of yours pointless because no one has to answer your question so it may be for a number of reasons (like nobody cares, nobody knows, you smell bad, etc.) 2) that question is better asked in #android-root Sep 04 22:08:42 there are several kind of "permissions" are you talking about the filesystem or android perms? Sep 04 22:08:53 filesystem Sep 04 22:09:10 then chmod: http://ss64.com/bash/chmod.html Sep 04 22:09:23 and yeah, that belongs to #android-root Sep 04 22:09:54 thanks Sep 04 22:10:06 you're welcome Sep 04 22:10:20 android-dev196: did you watch the Rio Olympics? Sep 04 22:10:28 no :( Sep 04 22:10:51 ok, then don't join #android-rio-olympics Sep 04 22:11:19 :D Sep 04 22:29:08 java.lang.UnsatisfiedLinkError : no implementation found for my method. i tried to load library(.so file) using System.load() Sep 04 22:29:30 what can be the reason? Sep 04 22:31:26 vb0x3f, the .so doesn't include a method (symbol) that corresponds to your method Sep 04 22:31:40 I mean... what else could it be? :) Sep 04 22:32:07 it does have, another app used the same method, it works fine in it Sep 04 22:33:38 JVM doesn't think so. Sep 04 22:33:54 Check your package names, method names signatures. Sep 04 22:34:02 And do a method name dump on the .so, compare it Sep 04 22:35:39 okay Sep 04 22:35:51 Hi guys! Are there any tools allowing to convert PNG icons into alpha-channel ones so I can use it in notifications on post lollipop devices? I suck at photoshop and hate to do all this job so I thought maybe there's some life-saving tool Sep 04 22:37:56 AlexBerdnikov: "convert" can probably do that (imagemagick.org) Sep 04 22:40:05 bluk thanks Sep 04 22:46:52 How do I specify dp units in Java? Sep 04 22:47:53 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 10, getResources().getDisplayMetrics()); Sep 04 22:49:36 I do 8.dp and such Sep 04 22:49:56 not in Java though ;) but it is in code Sep 04 22:52:54 :-) Sep 04 22:53:57 do merge also merges attributes? Sep 04 22:59:28 no, it doesn't Sep 04 22:59:53 How can I retrieve a StateListAnimator resource? Sep 04 23:06:42 Arancio: view.getStateListAnimator() Sep 04 23:07:05 bluk: no, I need to retrieve a resource to pass to setStateListAnimator() Sep 04 23:07:50 oh, maybe AnimationInflater.loadStateListAnimator() then Sep 04 23:07:58 check http://stackoverflow.com/questions/31543313/how-can-i-use-statelistanimator-in-my-application Sep 04 23:08:37 bluk: I'll check that thanks. Sep 04 23:13:44 bluk: it worked (even without reading the StackOverflow Q&A)!!! ! !! !!! !! ! Sep 04 23:13:52 bluk: thanks! ! !!! !! Sep 04 23:15:45 aha cool Sep 04 23:23:59 I created a compound button view. I first made a prototype and now I converted it to a compound control. The compound control now works like the prototype except for one thing: when I tap on it, I get the visual feedback but the emulator makes no sound. Do you have any idea of what could cause this? Sep 04 23:35:06 is there a way other than looking in my m2repository to see what version of things like android-support-utils i have in my sdk? for example i see 24.2.0 in the directory but the sdk manager has the API column blank and "36" as the version. Sep 04 23:43:55 Ok. Buttons make a tap sound only if there is a click listener! Sep 04 23:51:03 I have a fragment that contains an Inner Handler class. Handler receives Messages from a Service, and upon updates a textview when a message is received. The textview's text gets updated by a call to a method doing fileIO. I pass that method a context. However, it seems that upon destroying the activity that's holding this fragment, the context equals null and thus i get a NullPointerException. What am i doing wrong? Sep 04 23:55:31 Cmaj6: developing an Android application Sep 04 23:55:56 XD Sep 04 23:56:50 i thought fragments were children of activities? Sep 04 23:56:58 so if you destroy the activity there wouldn't be any fragments left Sep 04 23:57:02 ^ Sep 05 00:02:12 if anyone is able to offer help on parcelables, im knee deep in them, and all confused lol Sep 05 00:03:13 im getting an "unmarshalling unknown type code" RuntimeException Sep 05 00:04:21 oh, looks like it could be from a null somewhere down the line? Sep 05 00:06:15 myke, there is no way other than looking at the directory Sep 05 00:07:09 drinfernoo: what types are you marshalling? Sep 05 00:08:11 ArrayList, which MyClass contains other ArrayList Sep 05 00:08:35 i made sure all my classes implement Parcelable, correctly (to my knowledge) Sep 05 00:08:59 what are the members of your Parcelable class that are being marshalled? Sep 05 00:09:06 class or classes Sep 05 00:09:42 better if you paste your Parcelable classes somewhere visible Sep 05 00:09:56 ok i will Sep 05 00:09:59 gimme a minute Sep 05 00:15:37 In compound view you get the attributes in the constructor but then you have to pass them to the inner views after they are inflated. What do you usually do with them? Do you store them even if you just have to set the same values in the inner views? Sep 05 00:18:05 How do you define and retrieve the value of a Drawable attribute? Sep 05 00:18:15 a Drawable custom attribute, sorry Sep 05 00:29:01 myke, Arancio i got it working Sep 05 00:31:50 My Handler is located in a Fragment. Instantiaton of the Handler and passing a 'context' to it is done in the same Fragment and it was instantiated as MyHandler(this), where this was referring to the Fragment. However, in the handler I made method calls that needed a Context object as a parameter. Hence, i had to instantiated the Handler using MyHandler(getContext()) rather than MyHandler(this). I am using a WeakReference In the Sep 05 00:31:50 Handler and now everything is working as it should Sep 05 00:47:35 (drinfernoo) ok, so in https://github.com/drinfernoo/Gandalf/blob/master/library/src/main/java/gandalf/blango/com/gandalf/Gandalf.java, im putting an ArrayList Sep 05 00:47:37 (drinfernoo) https://github.com/drinfernoo/Gandalf/blob/master/library/src/main/java/gandalf/blango/com/gandalf/model/Page.java Sep 05 00:47:41 (drinfernoo) which has been working fine, until i started passing an ArrayList along with one of the subclasses of Page Sep 05 00:47:47 (drinfernoo) https://github.com/drinfernoo/Gandalf/blob/master/library/src/main/java/gandalf/blango/com/gandalf/model/MultipleChoicePage.java Sep 05 00:47:55 (drinfernoo) https://github.com/drinfernoo/Gandalf/blob/master/library/src/main/java/gandalf/blango/com/gandalf/model/Story.java Sep 05 00:48:00 ? Sep 05 00:48:02 (drinfernoo) i think the problem may be that in unmarshalling Story, im not checking for what class Page is, so its not calling the correct CREATOR Sep 05 00:48:10 ops, sorry Sep 05 00:48:11 (drinfernoo) because Story contains an ArrayList, but that could (and does) contain multiple subclasses of Page Sep 05 00:48:18 (drinfernoo) and no actual Pages, since its a stub class Sep 05 00:48:23 (drinfernoo) it was an interface, but i had to make it parcelable, in order to pass it Sep 05 00:48:29 (drinfernoo) sorry if that was a lot all at once lol Sep 05 00:48:37 well see Arancio lol Sep 05 00:48:45 :) Sep 05 00:52:34 anyone know some tutorials for RxJava in android? Sep 05 00:55:25 No but heres some examples: http://orbyt.github.io/RxCookbook/ Sep 05 00:55:49 You really just got to start a test project and just do random operations Sep 05 00:56:33 yeah, i am doing that :P Sep 05 00:56:44 i know what i want to do conceptually Sep 05 00:57:11 trying to create an observable from a firebase listener, and subscribe in an activity Sep 05 00:58:44 cute, a little class in android to calculate ring buffer indexes Sep 05 01:01:21 stream coalescing Sep 05 01:11:01 greves: keep writing random code, reject the one that doesn't compile, reject that one that doesn't yield the proper result and you will find the correct code, eventually Sep 05 01:11:30 greves: all you need is to know what you want to do, conceptually Sep 05 01:11:53 now I understand what "code monkey" mean Sep 05 01:12:08 Arancio, um... well, you need to know slightly more than that :p Sep 05 01:14:55 greves: i might have some code for firebase+rxjava, let me dig Sep 05 01:15:33 inder_gt, that would be great ;) Sep 05 01:18:04 greves: gonna upload a gist Sep 05 01:18:16 awesome Sep 05 01:20:03 greves: this is old code, should be a good starting point tho Sep 05 01:25:59 I managed to make my compound buttons as compound views!! ! ! !! ! !!!! !! Sep 05 01:26:07 Thanks guys! Sep 05 01:27:20 whoo hoo! lol Sep 05 01:27:34 nobody had any input on my parcelable lol Sep 05 01:29:48 I never marshalled arrays, Sorry. I only did it once and discarded the code because I realized I didn't need it Sep 05 01:30:02 its ok lol Sep 05 01:30:41 i may be able to simplify it and get it working better anyway Sep 05 01:30:45 hi all, any idea why my recycler view is also slow to react to the first tap when the app is cold started after a kill/reboot ? Sep 05 01:40:20 drinfernoo: did you try to remove array or make a Parcelable with only an array of string or an array of Parcelables. You could be able to isolate the problem Sep 05 01:40:47 sylon: always or only with full moon? Sep 05 01:41:43 pifon: are you a relative of sylon? Sep 05 01:42:01 no Sep 05 01:42:14 Arancio, i think im gonna get rid of the Story class, and just use an ArrayList instead. itll be simpler, and its really just a wrapper anyway. i think thatll work. Sep 05 01:42:24 pifon, are you pfn? Sep 05 01:42:33 no Sep 05 01:42:38 just checking lol Sep 05 01:42:39 :D Sep 05 01:42:42 Arancio: only full moon Sep 05 01:43:34 drinfernoo: one idiot per channel is enough. When you want the stage please give me a warning so that I can move away from the spotlight Sep 05 01:44:46 sylon: does it need to get focus? Sep 05 01:44:52 pfn stole my name iirc Sep 05 01:45:04 lolnot Sep 05 01:45:20 i still think you guys are the same person Sep 05 01:45:35 just like the sun and the moon lol Sep 05 01:45:47 sylon: one my buttons were slow to react because I messed with focus attributes. The first tap was used to set focus, the second to interact Sep 05 01:45:50 once Sep 05 01:46:05 sylon, do you mean to drag or to tap an item? Sep 05 01:46:16 no its just a standard recycler view Sep 05 01:46:20 tap to select a list item Sep 05 01:46:28 ok Sep 05 01:46:31 it works fine the second time, if i multi task away from app and back in Sep 05 01:46:38 just initial load and first tap Sep 05 01:47:05 stock RecyclerView? any methods overriden? Sep 05 01:47:16 pretty stock Sep 05 01:47:37 anything else in your layout taking focus? that sounds more like an adapter thing, imo Sep 05 01:47:50 where are you setting your click listener? Sep 05 01:48:19 Guys, what do you think of my buttons? https://s13.postimg.io/oe5y3155j/insta.gif Sep 05 01:48:24 Do they still suck? Sep 05 01:48:51 better...? lolol Sep 05 01:49:00 it's clearer that they're buttons now for sure Sep 05 01:49:06 i am setting it inside the view holder Sep 05 01:49:19 i add it to the itemView passed into the constructor Sep 05 01:49:35 could you link to your adapter code? Sep 05 01:49:41 ill take a look Sep 05 01:49:53 I don't know. What is it so strange with them? Sep 05 01:49:58 gist or pastebin or something Sep 05 01:50:19 I really don't understand if it's just you, drinferno, or if there is an actual problem Sep 05 01:50:28 not a problem Sep 05 01:51:04 They respect all material design guidelines, now, as far as I know Sep 05 01:51:21 sure Sep 05 01:51:45 so why aren't they "ok"? why are them just "better"? Sep 05 01:51:57 they Sep 05 01:54:32 let me find it Sep 05 01:55:14 i think its a combination of things. imo, they don't look very material. they're on cards, and that works, but the typography doesn't really fit the recommended material guidelines, and the images don't really fit the "material" look. they're not bad, but i can't quite place what i don't like lol Sep 05 01:55:27 don't take my word as gospel, it's your app Sep 05 01:56:19 material look don't dictate anything about illustration. Only about icons Sep 05 01:56:25 also, don't take material as gospel, but as guidelines to help fit the overall Android look and feel Sep 05 01:57:19 card are more elevated than buttons Sep 05 01:57:21 cards Sep 05 01:57:42 is anything rectangular and big a card for you? Sep 05 01:58:08 Anyway, if someone else would like to give their opinion it would be appreciated. Sep 05 01:58:21 Arancio, https://material.google.com/style/imagery.html#imagery-best-practices Sep 05 01:58:27 currently I have only one data point Sep 05 01:58:53 oh, that whole page, not just the # Sep 05 01:59:28 well, and buttons are usually more like what you see here Sep 05 01:59:30 https://material.google.com/components/buttons.html Sep 05 01:59:42 drinfernoo: I know that page. They are just examples. You are supposed to use your own kind of images and illustration to get a distinctive look. You don't have to copy the style of google's illustrators Sep 05 01:59:44 i would say those are definitely more like cards than buttons Sep 05 01:59:51 yeah, of course Sep 05 01:59:55 like i said, not gospel Sep 05 01:59:59 ok Sep 05 02:00:07 I'm not saying you are wrong Sep 05 02:00:13 I'd like to hear more voices Sep 05 02:00:39 me too actually lol Sep 05 02:00:48 this place has been pretty quiet lately Sep 05 02:01:11 did everyone jump ship to slack or discord or something? Sep 05 02:01:46 yeah. they are quiet on purpose. it's a conspiracy. Sep 05 02:02:08 what comes next after you choose one of those options? Sep 05 02:02:43 you describe the drill. then it's created in the database and you can add more information or use it Sep 05 02:03:23 what comes before that? Sep 05 02:03:45 you probably pushed a "+" button somewhere or something like that Sep 05 02:04:27 in any view listing some drills Sep 05 02:04:51 are there various types of drills one might usually find in those contexts? Sep 05 02:05:00 it's part of the CRUD part of the application Sep 05 02:05:00 like running, etc Sep 05 02:05:20 there should be a whole repository of drills Sep 05 02:05:47 very detailed Sep 05 02:06:48 i might approach that with tabs. rather than choosing specifically which thing you want, have a tab for each, and each side lists a bunch of common drills to use as a starting point, possibly with an option to add custom ones Sep 05 02:07:41 I'll implement multiple ways of looking for drills, don't worry Sep 05 02:10:01 im gonna go for now but i may be back later lol Sep 05 02:12:06 pfn: wanna look at my UI? Sep 05 02:12:16 not particularly Sep 05 02:18:46 pfn: ok. thanks anyway. Sorry for disturbing you Sep 05 02:18:57 ha Sep 05 02:19:13 Arancio rewrite your UI with iota maybe pfn will look at it then Sep 05 02:20:00 My brain is melting. I can't add more frameworks at the moment. Sep 05 02:21:59 I'll have a look at pfn's work later when I'll be more accustomed to Android Sep 05 02:25:37 g00s: I wouldn't mind your opinion, though. :P Sep 05 02:25:58 https://s13.postimg.io/oe5y3155j/insta.gif Sep 05 02:26:09 Just to know if it really look so strange Sep 05 02:28:27 hm Sep 05 02:30:21 is it a kids game? looks little silly Sep 05 02:35:42 g00s: does this image look silly too? It's the style I thought I was going to use: https://s16.postimg.io/awhyy8j0l/image.png Sep 05 02:36:29 g00s: the whole application and the web application would have a similar style for illustrations Sep 05 02:36:39 g00s: I'm still working on it Sep 05 02:37:49 colors and all Sep 05 02:39:01 I'm looking for a sportive and artsy look Sep 05 02:54:15 Arancio: it's just fine imo Sep 05 02:54:24 I like the colors of the 1st one Sep 05 02:54:46 bluk: thanks for taking the time to look and for your opinion! Sep 05 02:54:59 tho I have absolutely no idea about the meaning of the whole thing :P Sep 05 02:55:08 but that's ok **** ENDING LOGGING AT Mon Sep 05 02:59:58 2016