**** BEGIN LOGGING AT Sun Nov 06 03:00:00 2016 Nov 06 03:02:37 LunarEclipse120: you there Nov 06 03:03:01 Yes I am. Nov 06 03:03:06 Sorry. Nov 06 03:03:15 But any, where did you get Java from on windows? Nov 06 03:06:59 oracle Nov 06 03:07:40 right now i am on windows Nov 06 03:08:34 Link?: Nov 06 03:08:37 Was it the JDK? Nov 06 03:13:15 yes Nov 06 03:13:38 API Level 24 Nov 06 03:14:14 Android Support Reporitory is needed ? Nov 06 03:15:47 Is Android Studio configured to find it? Nov 06 03:19:25 where can i check that? Nov 06 03:23:26 In Settings. Nov 06 03:29:24 should i use Embeded JDk ? is recomended Nov 06 03:30:13 Where is it installed? Nov 06 03:31:49 Embeded comes with Android Studio Nov 06 03:32:02 and i have oracle jdk 8 Nov 06 03:32:11 so i am testing selecting both Nov 06 03:32:33 but got same error Nov 06 03:33:10 Akuw shouldn't matter Nov 06 03:34:31 Could not find method android Nov 06 03:46:51 hm AndroidAsync has 0 releases :( Nov 06 05:19:55 Hello, I'm having trouble making a simple camera app. I have camera permissions and sotrage permissions, but after I do startActivityForResult I never get the onActivityResult callback. http://hastebin.com/ahiyizaveg.swift Nov 06 05:21:10 http://hastebin.com/modepuhowu.xml Nov 06 05:21:23 ^^ manifest Nov 06 05:34:48 Porting Android 6 to a Nokia Windows Phone requires what knowles Nov 06 05:36:14 ...knowledge of u-boot, Java, ARM chipset , the Linux kernel and C? Nov 06 05:36:24 hello Nov 06 05:37:38 i have a question Nov 06 05:39:17 Porting Android 6 to a Nokia Windows Phone requires what knowledge of u-boot, Java, the ARM chipset, the Linux kernel and C? Also Windows Phone to get a Command Prompt as cmd.exe Nov 06 05:41:01 is it possible to have real time notifications in offline app? by offline means cutt off from internet Nov 06 05:43:07 hey everyone Nov 06 05:43:07 Anmol123 um use a terminal phone with the nearest dial up plug and a USB modem Linux kernel module and that phone line from your USB modem into one jack of the TTY phone Nov 06 05:43:40 is there a specific channel for beginners on Android dev? Nov 06 05:43:43 You basically have to make a deal with a dial up service pe Nov 06 05:43:53 Provider Nov 06 05:44:47 actually i have no experience in android development let me search what you have told ;p Nov 06 05:45:56 or is anyone familiar with MediaControllerCompat and willing to help me out? I can't figure out my problem at this point Nov 06 05:46:37 The terminal phone forwards the internet to your Android phone and does allow you to dial out and have a lol modem TTY Nov 06 05:47:03 It's like a hardware minicom Nov 06 05:47:25 Program Nov 06 05:48:30 Whenever you talk to a modem it's minicom Linux or Nov 06 05:49:40 Android and HyperTerminal for Windows as examples Nov 06 05:50:05 Read up on modem cp Nov 06 05:50:34 thanks Sparky let me read on those then will come back :) Nov 06 05:50:55 Modem commands as they are like AT commands Nov 06 06:00:46 Anmol123 but this is slow dial up internet for your Android phone Nov 06 06:01:30 Like in Nov 06 06:03:01 On the TTY [read terminal] phone you type the digits that log you into SBC Global dial up internet service for example Nov 06 06:03:27 hi Nov 06 06:03:32 Then you say android phone give me the Nov 06 06:03:48 Network interface ppp0 9 Nov 06 06:04:14 Mean ppp0 over that USB modem Nov 06 06:04:46 why this code don't get me path of sdcard " Environment.getExternalStorageDirectory().toString();" Nov 06 06:05:02 Then you are online at this speed in cell phone technology: 1x Nov 06 06:05:51 I would ask for a 1x SIM card with no try Nov 06 06:06:42 Nothing but pure data calls and no dialing a phone number to talk to them or receiving phone calls Nov 06 06:09:01 SparkySquirrel wait that all bounces over my head let me read those Nov 06 06:24:57 Are there any better places for generating device art (frames) for screenshots? Nov 06 07:26:26 my android phone has 1 gb free memory space but when am trying to install any app its saying not enough memory delete some apps,what can i do now? Nov 06 07:41:16 delete some apps Nov 06 09:41:48 hi all new hete any way to patch android studio check if you have ×86 or ×64 error? Nov 06 10:06:15 oooh finally managed to join !! Nov 06 10:06:28 ha Nov 06 10:06:47 by the way irc clients also exist for android Nov 06 10:06:52 im here to advertise my github repo :D Nov 06 10:07:08 euhh Nov 06 10:07:13 hate me? Nov 06 10:07:20 ... Nov 06 10:07:37 anyway here it goes Nov 06 10:07:38 https://github.com/bhargavms/sqlite-persistent-queue Nov 06 10:07:42 are you an andr dev? Nov 06 10:07:46 yep Nov 06 10:08:00 i do some ios dev too on the side Nov 06 10:08:04 what about you Nov 06 10:08:25 so with just 1 freenode nick I can join any servers? Nov 06 10:08:26 me not yes and no Nov 06 10:08:30 is that how IRC works? Nov 06 10:08:33 yes Nov 06 10:08:42 oh cool I like the freedom Nov 06 10:08:47 read some docs Nov 06 10:08:56 is there a umm.. android client for IRC? Nov 06 10:08:57 you can specify the server Nov 06 10:09:03 yes many Nov 06 10:09:10 do you know any good ones? Nov 06 10:09:12 try Atomic Nov 06 10:09:20 best one Nov 06 10:09:22 atomic irc? Nov 06 10:09:25 or yaaic Nov 06 10:09:27 yes Nov 06 10:10:00 yes found it Nov 06 10:10:07 very light weight only 1.8mb Nov 06 10:10:30 which one? Nov 06 10:10:38 atomic irc Nov 06 10:11:30 oh best interface Nov 06 10:11:38 really a copy of yaaic Nov 06 10:12:07 but too great a dif perfect. the target vers is really high Nov 06 10:12:43 yea im going to use yaaic Nov 06 10:12:49 because its just 500kb Nov 06 10:14:50 ok by the way join ##bottestingmu Nov 06 10:16:14 whats that? Nov 06 10:16:28 can i pm you? Nov 06 10:16:45 yea Nov 06 10:16:57 idk how I let you pm me tthough im a IRC newbie Nov 06 10:21:40 anybody know app inventor? Nov 06 10:28:57 appinv i got disconnected man Nov 06 10:29:41 check out app inventor for easy beg andr dev Nov 06 10:29:55 mit app inventor? Nov 06 10:30:34 yes Nov 06 10:32:07 god dammit Nov 06 10:32:15 yea I saw it Nov 06 10:32:20 @appinv Nov 06 10:33:02 well i happen to be one of the winners Nov 06 10:36:17 humm Nov 06 10:45:05 whoa Nov 06 10:45:12 so you are a really good android dev? Nov 06 10:45:34 how the hell do I PM in this shirt Nov 06 11:01:14 select the user and select query Nov 06 11:17:36 hi everybody... does anybody have an idea how I can use a RecyclerView with DataBinding and a normal ViewHolder combined? Nov 06 11:18:34 basically I decide in getItemViewType which item and layout I want. In onCreateViewHolder I now need to differ between creating a DataBinding object for one type and a regular ViewHolder for another Nov 06 11:23:43 nvm :D Nov 06 11:38:16 raoul11: HERRO Nov 06 12:05:29 boker thepoosh Nov 06 12:05:41 danka Nov 06 12:06:08 danke Nov 06 12:06:56 whats on this week agenda Nov 06 12:07:44 in germany Nov 06 12:08:28 vunderschonner Nov 06 13:36:13 Hi, I am trying to draw fragments in my viewpager under statusbar and navbar but its not working, the viewpager is under the system bars, as i saw in layout inspector Nov 06 13:36:35 I even have CoordinatorLayout as root layout of my fragments and fitSystemWindows=true Nov 06 14:19:28 Hello, I'm having trouble making a simple camera app. I have camera permissions and sotrage permissions, but after I do startActivityForResult I never get the onActivityResult callback. http://hastebin.com/ahiyizaveg.swift Nov 06 14:19:30 http://hastebin.com/modepuhowu.xml Nov 06 14:19:32 ^^ manifest Nov 06 14:58:44 ContentResolver.insert is giving a NullPointerException when i try to create a sim contact with a url and ContentValues Nov 06 15:20:07 hello guys and girls. Isn't there away to start tcpip mode for adb on the android device itself ? witout first connecting it to your pc with a cable ? Nov 06 15:30:31 How do I get my Android device to run a script at bootup ? Nov 06 15:30:54 ( the previous question is now old school ) Nov 06 15:57:10 Can I request part of a resource with OkHttp? Nov 06 15:57:33 To implement parallel downloads or seeking? Nov 06 16:06:45 thepoosh meh ! Nov 06 16:07:15 NeoFrontier: you mean app ? Nov 06 16:07:23 (service) Nov 06 16:07:47 Yeah gordon_, however i've got it sorted thanks. Nov 06 16:08:11 I am now writing a little app to start adb wifi automatically at bootup of the device. Nov 06 16:08:20 ( root required ) Nov 06 16:08:40 With a nifty icon. Nov 06 16:08:50 Hi Melatonina Nov 06 16:09:00 Hi NeoFrontier Nov 06 16:13:04 I was thinking of coding another Android app but I was unhappy with the performance of the first app I built Nov 06 16:13:33 Does anyone have any suggestions on websites/articles/tutorials to help me properly structure my android app/use the right framework? Nov 06 16:13:57 TheKarlBrown: profile your first application Nov 06 16:15:18 very basic idea sharing app. sort-of like a fusion of reddit and yikyak. simple, and not necessarily done to standards Nov 06 16:20:56 all these cables makes me feel like a spider. Nov 06 16:25:09 Hence auto-WiFi-adb has been born. Nov 06 17:21:41 TheKarlBrown: "profile" doesn't mean "describe" ("make a profile"). Profile means measure the time of execution of different parts of the code and discover why the performance are not up to your standards. Nov 06 17:48:17 "resource referenced from manifest cannot vary by configuration: android:roundIcon="@mipmap/ic_launcher_round" Nov 06 17:48:21 what is wrong? Nov 06 18:00:45 what is wrong is you don't search prior to ask Nov 06 18:00:58 otherwise you would have find: https://code.google.com/p/android/issues/detail?id=225711 Nov 06 18:01:01 but he left. Nov 06 18:05:01 adq: I was about to answer to but I noticed that he left before typing Nov 06 18:05:45 it's ok, it's a public channel, some might benefit as I do when others exposes their problems and/or solutions Nov 06 18:07:57 Programming Tip: Don't forget that simlinks aren't treated as files. Nov 06 18:08:03 I spent 30 minutes slowly realizing that. Nov 06 18:12:14 well, technically it's a file with S_IFLNK flag Nov 06 18:12:33 but if you use java File, i doubt you will know that and it will probably auto-resolve to its target Nov 06 18:13:23 adq: still waiting with your questions open here Nov 06 18:13:35 ??? Nov 06 18:13:39 i have no question Nov 06 18:14:29 he knows everything Nov 06 18:15:08 i wish Nov 06 18:52:02 Hello everyone! Nov 06 18:52:12 I'm having an issue with android webview. Nov 06 18:52:29 I have search the internet up and down since morning but found no solution to my problem. Nov 06 18:54:45 android-dev825: Maybe telling us your issue would help. Nov 06 18:55:26 Yeah, sure. I was looking if someone was around Nov 06 18:55:46 The problem is, I have an html page placed in the assets which I'm loading into a webview. Nov 06 18:56:39 That html script renders a view which consists of a form which is submitted when an tag is clicked. Nov 06 18:57:07 What I'm having problem is, I just want to detect when the form is being submitted. That's all. I don't need the data. Nov 06 18:59:45 anyone? Nov 06 19:00:11 hm Nov 06 19:01:04 what about this http://stackoverflow.com/questions/20917235/webviews-html-button-click-detection-in-activityjava-code Nov 06 19:01:17 fortunately i dont have to deal with webviews :v Nov 06 19:01:40 When I'm displaying a webpage in my app Nov 06 19:01:47 it takes a few seconds to show up Nov 06 19:01:53 can I somehow speed up that process? Nov 06 19:02:26 Probably not. But you can provide a progress-bar or some facy animation for the user to look at in the meanwhile. Nov 06 19:03:20 How would one do that? Nov 06 19:03:27 Ashiren: I guess that is when you are using Javascript interface and can put code in html/javascript files Nov 06 19:03:29 right? Nov 06 19:03:50 let me try disabling JS Nov 06 19:04:47 kam: By displaying a view with a progressbar or an animation on top of the webview while it is loading? Some component of the webview will even tell you how far along it is if you want to display percentages. Nov 06 19:05:25 android-dev825: thats what i read Nov 06 19:05:38 ok Nov 06 19:05:40 aham. Nov 06 19:05:49 @Thorbear, did you read my problem too? Nov 06 19:07:52 android-dev825: I've never actually tried that, but the javascript interface sounds like the way to go, yeah. Nov 06 19:08:52 If the input button actually leads anywhere you could also listen for loaded urls I guess. Nov 06 19:09:31 The url calls multiple times, so there is no way to make sure what caused it to call Nov 06 19:10:51 and using javascript interface I would need to have access and put code in the html/js files right? Nov 06 19:13:29 Depending on the html you might be able to just inject some js of your own if you can't change the source. Wrap it in another html that has an onload function or something. Again I haven't actually tried the javascript interface, but you might be able to just inject some js directly there too. Nov 06 19:20:42 Anyone worked with Friendlychat? Nov 06 19:23:13 I added a header view using "tools:listHeader" to a list view Nov 06 19:23:25 how do i get a reference to it in my activity Nov 06 19:23:27 ? Nov 06 19:25:04 That's just for the preview. ListView has an addHeaderView method you need to use Nov 06 19:25:16 okay..am an idiot actually Nov 06 19:25:26 simonVT, yeah...am just figuring that out Nov 06 19:28:54 Is there any easy way to embed a twitter timelin? Nov 06 19:28:56 timeline* Nov 06 19:34:35 kam: everybody has their own version of "easy". Nov 06 19:34:51 I'm just trying to embed a timeline Nov 06 19:34:56 fabric isn't working for me Nov 06 19:38:06 Melatonina: Do I have to force users to login inorder to view the timeline? Nov 06 19:38:14 all the examples I'm seeing include the login Nov 06 19:39:12 Sorry, I don't know Fabric and I don't know Twitter Nov 06 19:50:18 Hate how everything needs AppCompat now. Even stuff like FloatingActionButton has the dreaded ThemeUtils.checkAppCompatTheme call. Nov 06 19:51:24 Understandable but annoying. Nov 06 20:02:37 adq: here? Nov 06 20:03:14 adq: https://www.facebook.com/Firebase/photos/a.328045833927768.80990.317036488362036/1263133217085687/?type=3 Nov 06 20:06:04 Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt Nov 06 20:06:48 should I just update the version in the gradle? Nov 06 20:08:58 kam: could it be you're using deprecated DSL references? Nov 06 20:09:26 I'm just running sample code for twitter Nov 06 20:19:13 hey guys... is in MVVM only the ViewModel allowed to directly access/update the model? Nov 06 20:20:59 Because I am building an app with databinding where I display instances of a model in a recyclerview. So I have a User.java containing the properties of a user. Then a UserViewModel for getting and transforming the data from the model (e.g. render a Date to String). This is used within the layout (the view) Nov 06 20:22:03 Now I can get new User instances or updates to existing ones from Firebase. So when I now update an instance of the model, how do I inform the viewholder which should then redraw the UI? Nov 06 20:26:13 any tips? :) Nov 06 20:27:13 the ViewModel should manipulate the model but also propagate changes to the outside (including the view) Nov 06 20:29:02 Melatonina: but what if the model changes? I can't always just access it through a ViewHolder (e.g. if that is instantiated with the recyclerview viewholder Nov 06 20:30:58 evident: you always access the model through the ViewModel Nov 06 20:31:36 evident: otherwise, just use another paradigm Nov 06 20:32:26 anyway you are talking in generic terms and are not very good at it. Your problem is not clear Nov 06 20:32:43 but how would I do it in the given case? I have a viewmodel for each list item in the recyclerview... for each instance of "User"... how would I update one instance from a Firebase callback? I don't have access to the viewholder from the Firebase classes Nov 06 20:33:48 so there I somehow need to update the model and inform the viewholder that it has changed. This will then through the databinding classes redraw the UI with the updated info Nov 06 20:34:02 ViewHolder or ViewModel? Nov 06 20:34:12 viewmodel, sorry Nov 06 20:34:48 Why can't the Firebase-related classes work with ViewModels? Nov 06 20:36:00 well I can create a new viewmodel instance there and assign the corresponding User instance through it and then through this viewModel update the User data, but this won't inform the ViewModel instance in the recyclerview and hence not redraw the UI Nov 06 20:36:52 You should have ONE ViewModel per business object Nov 06 20:37:36 ok I figured... but then this just conflicts with all the tutorials and articles I find online about data binding Nov 06 20:38:11 where it says to create a viewholder instance within the ViewHolder Nov 06 20:38:54 I don't have patience to guess if when you write ViewHolder you mean it or ViewModel Nov 06 20:38:55 Sorry Nov 06 20:39:00 I'm going back to my code Nov 06 20:39:20 ahh sorry don't know why I keep messing those terms up Nov 06 20:39:25 but alright. thx anywasy Nov 06 20:42:01 I don't know the solution to your problem because I didn't understand it. As a general note, working heavily with MVVM with .NET/WPF, I sometimes used a ViewModel caching factory in order to create only one ViewModel for each model. Nov 06 20:42:10 I don't know if that technique can help you Nov 06 20:42:15 Good luck Nov 06 20:42:41 If you do that, watch out for memory leaks Nov 06 20:43:38 ok i will dive into it a bit more :) Nov 06 20:43:41 thx! Nov 06 21:00:23 hi all Nov 06 21:00:34 hi, fels Nov 06 21:00:35 how can i stop the splash screen from coming up > ? Nov 06 21:00:54 What splash screen are you talking about? Nov 06 21:01:10 the splash screen on my app Nov 06 21:02:24 find the line where you show it and comment it out Nov 06 21:17:31 Anyone familiar with the twitter api? Nov 06 21:31:19 kam: I'm not. But you probably already suspect that. Nov 06 21:31:49 Melatonina: I have :3 Nov 06 21:32:01 I liked twitters old api Nov 06 21:32:02 so simple Nov 06 21:37:02 anyone got experience with BLUE TOOTH /BLE pls Nov 06 21:37:37 i want to know how I can get my AdRecord type ==255 ? Nov 06 21:47:52 hello, i'm trying to debug my application through my android device Nov 06 21:48:18 when I connect it to my computer, there's only MTP/PTP and MIDI device mode Nov 06 21:48:34 the device shows up on Android studio, but I can't see any processes on it Nov 06 21:49:02 https://puu.sh/s8OAY/b4e8a9d658.png Nov 06 21:49:08 what am i missing? Nov 06 21:49:52 Are you on AMD? Nov 06 21:51:16 what? Nov 06 21:54:45 With an un-rooted device you can only see processes that are flagged as debuggable, typically this is going to be the app you're running from Android Studio Nov 06 21:59:35 adq: https://www.facebook.com/Firebase/photos/a.328045833927768.80990.317036488362036/1263133217085687/?type=3 << just came back, why this link? why me lol? maybe you mixed up my nick with someone else Nov 06 21:59:45 anyway, no worry but i don't get why you link me that ;) Nov 06 22:00:52 Affian : is there some way to set an app as debuggable from my device? Nov 06 22:01:11 guess i gotta root it Nov 06 22:01:37 ranbox2d: You shouldn't need to Nov 06 22:01:49 Can you run the app from Android studio? Nov 06 22:01:59 or is it already compiled by someone else? Nov 06 22:02:01 it's not an app I made on AS Nov 06 22:02:08 I'm making a game using Unity Nov 06 22:03:11 Ah right Nov 06 22:03:52 I've done some Android-Unity development, just trying to remember if I had any issues Nov 06 22:04:19 nvm nvm Nov 06 22:04:22 thanks a lot Affian Nov 06 22:04:29 If you're looking for logcat logs, then you can still see them if you set it to nofilter Nov 06 22:04:56 looks like checking the "debug scripts" when building in unity tags the app as debuggable Nov 06 22:05:04 Ah, nice Nov 06 22:05:11 I just like to use Android Studio, it's formatted nicely Nov 06 22:05:23 and faster workflow Nov 06 22:05:25 thanks again Nov 06 22:05:36 Yeah, reading logcat in terminal is a pain Nov 06 22:11:21 Hello guys, I creating two fragments and pushing them to linearlayout, in the first fragment I have a button and what I want to do is to hide the first fragment and show the second one. I was trying to do `schedulesListFragment.FindViewById` but such method doesn't exist. How I can do that? http://pastebin.com/RDf8bYYD Nov 06 22:15:56 Almis90 you need to retain an instance Nov 06 22:16:15 nice and clean other then that Nov 06 22:17:22 black91 any link or example? thank you Nov 06 22:17:53 https://www.intertech.com/Blog/saving-and-retrieving-android-instance-state-part-2/ Nov 06 22:20:49 aha I see, I will try that Nov 06 22:20:53 thank you Nov 06 22:35:37 My application needs to fetch some resources from a server to work fully. What should I do if the network is not available when the application is started? Nov 06 22:37:11 black91: what would you do? Nov 06 22:37:12 Same thing you would do with runtime permissions that are denied Nov 06 22:37:20 ? Nov 06 22:37:29 besides disabling the features that can't work Nov 06 22:37:52 ? Nov 06 22:38:40 hello there Nov 06 22:39:29 orbyt_: what do you do with runtime permissions that are denied? Nov 06 22:40:00 Disable the features needing them and continue as normal. Nov 06 22:40:35 Ok. What if the connectivity is available later? How should I make the user able to retry the download later? Nov 06 22:40:55 how can you tell that? Nov 06 22:41:06 Melatonina you can show them a message that your application requires internet and them redirect them to wifi settings startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)); Nov 06 22:41:13 if the resource is needed, you need to cease operation Nov 06 22:41:18 simple as that Nov 06 22:41:38 Melatonina, load cached data Nov 06 22:41:49 listen for connectivity changes and reload data when connection gets available Nov 06 22:42:00 or offer a refresh button in a snackbar or something Nov 06 22:42:01 Ok but if only a subset of the features of the application need that resources I can't close the application. Nov 06 22:42:12 ^ that was for black91 Nov 06 22:42:31 (crippling your application because you don't have internet is a shitty thing to do for most use-cases) Nov 06 22:42:51 not if your application depends on internet Nov 06 22:42:52 lol Nov 06 22:42:53 Mavrik: Ok. One background thread that attempts to load the resources is useful. I'll do that Nov 06 22:43:10 black91, even if it depends on the internet Nov 06 22:43:12 anti-piracy, internet resources Nov 06 22:43:26 Not being able to see cached data you've been looking at 2 minutes ago because you went out of wifi range is crappy experience Nov 06 22:43:28 Do better. Nov 06 22:43:37 black91: I already wrote "but if only a subset of the features of the application need that resources" Nov 06 22:43:44 Think about your users, not pirates. Nov 06 22:43:53 i disagree Nov 06 22:44:35 Play Books requires internet access, Play Store Nov 06 22:44:38 Pirates don't pay you money. Nov 06 22:44:42 They won't pay you money. Nov 06 22:45:01 even books require internet access on phone Nov 06 22:45:33 howd you get the app? you can use same internet for loading those resources Nov 06 22:45:44 hard to dynamically update content without Nov 06 22:45:48 Wth are you talking about :D Nov 06 22:46:21 i was saying in response to Melatonina Nov 06 22:46:38 obviously your app doesnt need those features anyway Nov 06 22:46:41 if u can go without Nov 06 22:47:01 if you need internet and it's not there, ask for it and display something (cached data, placeholder, whatever) in the meantime Nov 06 22:47:38 or sacrifice the feature on the altar of your app Nov 06 22:49:19 if you can go without i agree Nov 06 22:50:01 yeah, and i understand what black91 meant too, sometimes you highly depends (if not entirely) on stuff from the server Nov 06 22:50:30 think of an MMO game, no way you can do anything until logged in Nov 06 22:50:52 exactly Nov 06 22:50:52 but i also understand what other things have been said about sec, remember LVL how awful it was Nov 06 22:51:03 After this discussion, I'm confused than before Nov 06 22:51:06 and how it impacted more regular honnest users than pirates Nov 06 22:51:07 more Nov 06 22:51:21 i have never heard of lvl Nov 06 22:51:35 good because it sux :( Nov 06 22:51:46 what is it Nov 06 22:51:46 it is/was the License Verification Library Nov 06 22:51:50 ohh ya Nov 06 22:51:54 it allows to ask playstore if your app is legit Nov 06 22:51:58 it's too easy to bypass Nov 06 22:52:39 everyone I know including myself who used it at some point abandonned it Nov 06 22:52:58 the doc is so old that even Google has forgotten it exists i believe Nov 06 22:53:12 easier to check outside server if ur worried Nov 06 22:54:13 let's not dive into "how to prevent pirate to copy my android app" :) Nov 06 22:54:20 lol Nov 06 22:54:23 because this is really... obnoxious Nov 06 22:54:44 it's funny how much thing they give to make ppl believe it is safe when it's not Nov 06 22:55:02 all in the eyes of the beholder Nov 06 22:55:15 backdoors and all Nov 06 22:55:30 DCOM Nov 06 22:55:35 lol this one is old Nov 06 22:56:09 anyway, Melatonina, if you provide more details, you will get more precise answers Nov 06 22:57:20 like, what kind of things your apps need to fetch, for example in one of my personal app, even if there is no network (== no ads for the user in this app which displays a little banner), i put a custom local house ad promoting one of my other apps until network is back and admob loads Nov 06 22:57:56 now that is a good idea Nov 06 22:58:01 I understand. Nov 06 22:58:23 I have only a quite artificial example now. Nov 06 22:58:38 I know I will face similar issues in my real application. Nov 06 22:58:40 ok, no worry anyway, you can be sure there is always a solution Nov 06 22:58:51 and we can get back to it when you feel it Nov 06 22:59:12 Currently I was writing a little framework to perform initialization tasks at startup with progress notification. Nov 06 22:59:43 I was using it in a test app which has no real meaning. It just downloads a words database from my server and let's you press a button to generate Lorem Ipsum. Nov 06 23:00:03 I was trying to add logic for when the things go wrong. Nov 06 23:00:12 But of course it depends on the situation Nov 06 23:01:01 In this example app I will create a background thread that re-attempts to perform the operation Nov 06 23:01:15 Currently I disable the button if there is no database available Nov 06 23:01:35 I'll make the button attempt to download the database again if I press the button Nov 06 23:01:38 i see, well, idk, for re-attempt i can advise you to go exponential, next try in 1 sec, second next try in 3 sec, third next try in 10 sec, etc Nov 06 23:02:50 also be careful, i felt myself many times in this trap Nov 06 23:03:06 which is mixing the UI and the logic due to how things are so tight sometimes (especially on android :p) Nov 06 23:03:33 think more about returning states, and deal and reflect changes in states against the UI Nov 06 23:03:42 otherwise you can quickly run into corner-cases Nov 06 23:04:36 for example, recently some android dev discovered that in low battery, the OS tends to disable some animation Nov 06 23:04:47 and some dev based their logic on the animation start/end, etc Nov 06 23:04:52 which was catastrophic for them Nov 06 23:05:17 i've disabled all animations, they annoy the shit outta me Nov 06 23:05:20 because it was not anymore behaving like they think it should, but more importantly because they did the contrary Nov 06 23:05:27 they made their logic rely on the UI Nov 06 23:05:36 ahah bankai_ Nov 06 23:05:52 i just speed them up but it's kinda ugly sometimes with scene transitions Nov 06 23:06:06 it's either too slow or too fast ;) Nov 06 23:06:30 I'm focusing on this "framework" exactly to encapsulate the features of the app, the resources they depend on and the methods to fetch them. Nov 06 23:08:19 So that 1) UI is enabled/disabled/updated automatically depending on the availability of the resources 2) resources are known in a centralized place in the app 3) fetching them is invisible to the logic which depends on them Nov 06 23:09:20 I feel this kind of things should be part of Android Nov 06 23:49:55 Is it pointless to encrypt and add a checksum to a file stored in Gdx.files.local, ie not on the SD card but on internal write/read? To access it you need to decompile the app anyway and then you will know how to decrypt it as well? Nov 07 00:43:16 HI - Anyone here !? Nov 07 00:45:21 i want to store details in preferences do i use serializable on my objects ? Nov 07 00:50:39 is there something limiting you to storing strings/ints ? Nov 07 00:53:31 Hey. Was wondering if any of you guys might know what ZipFileCache is ? Nov 07 00:54:39 I've recently rooted my huawei P9 and installed xposed framework on it. So basicaly what i'm trying to do is to change the look of my phone. But I cant change *anything* because that error keeps popping up Nov 07 00:55:45 11-07 01:47:05.621 526 526 W ZipFileCache: Open zip file:icons failed! Nov 07 00:55:47 11-07 01:47:05.621 526 526 W ZipFileCache: init icons failed when open zip file. mPath=,mZip=,mFileNotExist=false Nov 07 00:55:56 bankai_: I have an object I want to stare the object in there Nov 07 00:56:25 11-07 01:47:06.111 526 995 W ZipFileCache: Open zip file:framework-res failed! Nov 07 00:57:02 I have found > https://github.com/google/gson but not sure how to include it in my project Nov 07 01:19:55 anyone know BLE programming ? is the device Address unique ?? Nov 07 01:21:26 would someone have some ideas how to fix this error: Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defined Lcom/google/android/gms/internal/zzqv$zza; i'm getting it when i'm trying to use the google play games services API according to the instructions. i think it has something to do with the fact that in my project level gradle file there's a dependency ... Nov 07 01:21:32 ... com.google.gms:google-services:3.0.0 and then my module depends on another module that has the dependency "com.google.android.gms:play-services-games:${gms_library_version}" and they're probably conflicting somehow but i have no idea how i should change them Nov 07 01:36:29 Reduce the total number of times that library is called for to _one_ Nov 07 01:49:22 gradle should take care of duplicate dependencies automatically Nov 07 01:49:45 Im guessing theres a version mismatch Nov 07 01:51:10 yeah maybe my other module simply doesn't work with the latest version of the library or something. i'll try what will happen if i disable the other module and try to use the library from the main module directly Nov 07 01:51:50 Also, running `gradle dependencies` may aid you. Nov 07 01:58:04 so let's say i want to import the class com.google.android.gms.games.Games. how can i know which dependency i need to add to gradle? i already have 'com.google.gms:google-services:3.0.0' in my project gradle but that apparently doesn't contain the right class. if i open the module settings window and try to add a new dependency i don't see any that talks about google play games services. the closest that i see is ... Nov 07 01:58:11 ... "com.google.android.gms:play-services" but if i add it then gradle gives me an error that i have two conflicting dependecies Nov 07 01:59:17 i could just delete the 'com.google.gms:google-services:3.0.0' but then AdMob stops working... Nov 07 01:59:39 and maybe something else as well Nov 07 02:33:35 we need to pay 25USD to upload apps on playstore? Nov 07 02:34:52 better than what apple charge ya Nov 07 02:34:53 As a one-time cost. Nov 07 02:35:34 ohh Nov 07 02:35:57 some idiot told me it is free Nov 07 02:36:07 Nah, it's not free, but it's pretty damned reasonable Nov 07 02:36:27 yes it is Nov 07 02:36:33 what apple charges? Nov 07 02:36:34 Largely it seems to be there to prevent people just flooding the app-store with crap using hundreds of accounts Nov 07 02:36:51 Apple charges $100 per year Nov 07 02:36:54 hahaha right Nov 07 02:37:10 $100 lol Nov 07 02:37:23 'The flagship Core i7-7700K is a monster with a base frequency of 4.2GHz" wow Nov 07 02:49:33 android studio keeps deleting R.class file Nov 07 02:50:04 Scold it soundly Nov 07 02:53:42 So I have two projects that I'm workin on Nov 07 02:53:51 I'm combing them together now Nov 07 02:54:06 but when I edit the R.class file and clean the project Nov 07 02:54:11 it deletes the R.Class Nov 07 02:57:21 any tipsss? Nov 07 02:57:29 Melatonina: You know anything about this? **** ENDING LOGGING AT Mon Nov 07 02:59:59 2016