**** BEGIN LOGGING AT Sun Mar 12 03:00:01 2017 Mar 12 04:58:43 what's the best way to package a python app to run on android? Mar 12 04:59:08 I want to make a simple app, but I'm more experienced in python than java Mar 12 09:01:08 sector_0: Unless you've already written all the code for said app, I think you're still better off making the app with java. Mar 12 09:29:41 I'm making a android app, but want to make it into a desktop app later.. I will seperate out the stuff that is common code into a seperate java library.. and having the gui stuff in a android studio project.. what are good alternatives to make the desktop version in? Mar 12 09:33:18 depends which platform are you targeting Mar 12 09:34:10 if you follow a proper design pattern, you can do it all in java Mar 12 09:34:22 raoul11: first windows.. but if things works out good I'll make a mac and linux version Mar 12 10:12:01 What's the best way to pass huge data from one activity to another?I presume intent.putExtra is not a good choice. Mar 12 10:13:58 Anyone available..? Mar 12 10:14:02 why? Mar 12 10:14:12 nd by huge what do you mean? Mar 12 10:14:36 if its a complex object, parcelable it Mar 12 10:15:18 I mean getting large json data from some web service call and passing it to some other activity Mar 12 10:16:01 are you parsing it into a java object? Mar 12 10:16:18 Using intent.putExtra crashes my app for huge data Mar 12 10:17:11 No i am passing the result to other activity directly Mar 12 10:17:16 store it as a singleton or use the application class Mar 12 10:19:15 Is using singleton performance wise efficient? Mar 12 10:20:51 raoul11: ?? Mar 12 10:54:35 I have a Frame Layout that contains a Surface View and two Fragments (for Navigation-Drawers) Mar 12 10:55:43 The surface view always manages to get priority and hides the fragments. Is there a way to make the fragment views appear on the top? Mar 12 11:00:57 Standard surface views will always be a on top. They basically cut a hole in the screen wherever they're placed Mar 12 11:01:41 I do recall there being another type of surfaceview that behaves more like a normal view, but I forget what it's called Mar 12 11:04:45 Ah, TextureView. If I remember correctly you can pipe just about anything to it Mar 12 11:21:09 Roughy: thanks, will also try that. For now, I have another workaround by modifying the left/right-margin, so that the view shrinks when the drawer gets opened Mar 12 12:16:39 Hello, I'm getting started with Android Studio. My first goal is to build a kernel to be run on the emulator - thus, the Goldfish. I have had a look at https://source.android.com/source/building-kernels.html. The indications are to download the source with git. Does anybody know whether it is possible to download kernel sources also by the GUI of AS? Mar 12 12:17:36 I think Android Studio is for building Android apps, not Linux kernels... Mar 12 12:18:56 Yes, but, as reported on https://source.android.com/source/building-kernels.html, the command line tools also allow building kernels. Since the SDK and app sources may be managed from AS, I am wondering whether also kernel sources may be. Mar 12 12:19:47 I think Android Studio is for building Android apps, not Linux kernels... Mar 12 12:20:04 it doesn't say anything at all on that page about using AS or the Android SDK for building kernels Mar 12 12:24:14 Leeds: Well, this is true. But I know that I can use the emulator for running kernels (see https://yaapb.wordpress.com/2012/09/24/how-to-compile-the-kernel-for-the-arm-emulator/). So I was wondering whether I could manage kernels from AS. (The emulator may be managed from there, right?) Mar 12 12:25:32 um, yes, you need a kernel to boot in the emulator... I'm not sure what that has to do with anything, so I'm going to leave you to it Mar 12 13:41:30 When I run my program in debug mode I want to see the logcat outputs.. but I can only see a console tab down in the debug window.. Mar 12 13:56:42 never mind. found it :) Mar 12 14:22:45 What's the best way to shut down a thread running in the background, that's running an infinite loop? This is what I have so far, but I'm not sure if it would work Mar 12 14:22:46 https://gist.github.com/Redrield/771448e110753d4438cf7be474ca789e Mar 12 14:22:51 (Stopping it is in onDestroy) Mar 12 14:39:06 Why am I getting this error? "W/PackageParser( 3139): Unknown element under : receiver at .... Mar 12 14:39:17 More info here - https://vomitb.in/va9V71n3yq Mar 12 14:40:52 megadeth: receiver and service go in Mar 12 14:41:05 Ah, okay Mar 12 14:41:10 https://developer.android.com/guide/topics/manifest/receiver-element.html Mar 12 14:47:39 hi all Mar 12 14:47:51 is it possible to start my app at a given time ? Mar 12 14:49:18 aLeSD: you probably want to set an alarm - and you should probably be thinking about things like background services and notifications Mar 12 14:50:32 Leeds, ok thanks Mar 12 14:52:19 hello Mar 12 14:52:41 I'd like to set preview image for a widget, and I should use avd for getting preview image Mar 12 14:53:03 I've tried to run emulator but I get an error message: PANIC: Unknown AVD name [mytest], use -list-avds to see valid list. HOME is defined but could not find mytest.ini file in $HOME/.android/avd (Note: avd is searched in the order of $ANDROID_AVD_HOME, $ANDROID_SDK_HOME/.android/avd and $HOME/.android/avd Mar 12 17:07:28 (mostly since JakeWharton shows up here :) was running errorprone on butterknife - does this https://github.com/JakeWharton/butterknife/blob/master/butterknife/src/main/java/butterknife/internal/Utils.java#L124 work as intended? It looks like it will get type-erased (http://errorprone.info/bugpattern/TypeParameterUnusedInFormals) Mar 12 17:16:31 is there a way to trace what code is being run when the UI thread is kept busy for a while? Mar 12 18:05:04 daylight savings time broke my app Mar 12 18:05:21 You had a broken app to begin with then. Mar 12 18:06:17 not in the way you would expect Mar 12 18:06:30 it was just parsedate thing Mar 12 18:06:38 i dont know why its broken Mar 12 18:07:05 in what way did it break? Mar 12 18:07:39 java.text.ParseException: Unparseable date: "Fri, 10 Mar 2017 00:01:17 -0500" (at offset 0) Mar 12 18:07:53 worked 12 hours ago Mar 12 18:08:34 should be 24:01:17 I suppose? Mar 12 18:09:32 that is a timestamp from an API Mar 12 18:09:55 i was just using a simpledateformat to change the format Mar 12 18:11:12 i dont need a fix, i found a workaround. i'm just bewildered. Mar 12 18:12:31 you can use a typeadapter Mar 12 18:13:47 Have you tried jquery? Mar 12 18:14:19 me? Mar 12 18:14:40 'tis was a joke. Mar 12 18:21:40 hello folks. I have a Galaxy S5 from AT&T, previously upgraded to some 5x ROM. While trying to get Android Pay to work, my system is not stable anymore. So, I thought why not get the latest/greatest 6x or 7x. Can someone please recommend something stable for G900AUCU (AT&T), preferably very lean and mean - close to stock? I really appreciate any recommendations Mar 12 18:22:17 This channel is for android app deveopment, you want #android or #android-root Mar 12 18:22:43 thank you. Apologies Mar 12 18:25:52 I noticed this: https://developer.android.com/about/versions/android-4.1.html#RemoteViews I would like to use a ViewStub in a RemoteView, but I couldn't find how to inflate them and then how to work with their inflated view. Mar 12 18:26:14 Anyone know how to do such a thing? Mar 12 18:59:30 I'm trying to make my preferences screen. This page (https://developer.android.com/reference/android/preference/PreferenceActivity.html) has the line addPreferencesFromResource(R.xml.fragmented_preferences_inner); but Android Studio says it's deprecated. What should I use instead? Mar 12 19:03:31 activity and PreferenceFragment Mar 12 19:11:18 animation - how to split a card? https://storage.googleapis.com/material-design/publish/material_v_10/assets/0B6Okdz75tqQsRmdDaEl6aTVGREU/whatismaterial-materialprop-transformingmaterial-PaperHeal_xhdpi_004.webm Mar 12 19:14:47 Hey everyone. What do you use for a Crypto library? Mar 12 19:14:57 any suggestions? Mar 12 19:24:41 hi i'm trying to build lineageos but it seems like i need a mkvendor file so i can generate the necessary files for the build, where can i get it? Mar 12 19:25:08 going to ask on android root Mar 12 19:28:03 ^^ that would be the place to do it :) Mar 12 20:14:35 I got a question about paypal and gogole developer console can i use paypal for get pay from google? Mar 12 20:15:34 or i need to use Google Merchant Mar 12 20:17:52 Hello, got an issue with TextView, I call setHorizontallyScrolling(true); setMovementMethod(new ScrollingMovementMethod()); to enable scrolling. with LTR languages it works fine, with RTL languages you dont see the text in the TextView, untill you give it a scroll/fling which resets it somehow.... Mar 12 20:18:44 hi viran:) Mar 12 20:19:03 hey Mar 12 20:21:43 ok Mar 12 20:21:50 how are you Mar 12 20:22:58 :) Mar 12 20:29:45 My app has a button that when pressed asks for READ_PHONE_STATE permission. How do I continue with the rest of my code automatically once the user grants permission? Right now the user has to grant permission and click the button again? Mar 12 20:43:49 dougquaid: onRequestPermissionsResult https://developer.android.com/training/permissions/requesting.html Mar 12 20:45:21 hi all, i’m in need of a nice seekbar which includes showing buffering status Mar 12 20:45:37 the seeking should only be possible in the buffered part Mar 12 20:46:24 anyone aware of a good library for that? google gave me some things, but the secondary progress things seems rare Mar 12 21:19:42 Why is the sdk manager trying to instal a bunch of system images on startup? Mar 12 21:19:59 yeah I'm tired of unchecking all those system images each time I open it Mar 12 21:21:03 Melatonina: Thanks that worked Mar 12 21:21:21 How can I request root permissions? Is it the same way as other permissions? Mar 12 21:22:18 dougquaid: Look into libsuperuser Mar 12 21:22:28 thanks Mar 12 21:22:58 Ah, just uncheck the repositories. Mar 12 21:27:40 blk_jack: So do I just clone the libsuperuser repo and put it in my project's libs folder? Mar 12 21:27:53 Or just use it as a dependency Mar 12 21:28:41 It's in maven-central and/or jcenter Mar 12 21:28:58 I searched for libsuperuser under Project Structure -> Dependencies but it didn't find anything Mar 12 21:30:37 ok, another question Mar 12 21:30:43 I think I got it. I just added compile 'eu.chainfire:libsuperuser:1.0.0.+' to my gradle file Mar 12 21:32:14 I've got an homescreen widget and I'd like to make a menu displaying when clicking widget Mar 12 21:32:31 dougquaid: That'll do it Mar 12 21:33:13 I've already got layout xml file for menu, and I've already got widgetprovider for changing look 9f the widget, when clicked Mar 12 21:34:17 what type of class could I use for my menu? Context menu is a good choice? Mar 12 21:34:21 Any ideas? Mar 12 21:47:39 hello, i have a little problem with admob, i was implemented it and was able to see test ads, but now i want to test it before live release and published it on alpha, but i can't see live ads Mar 12 21:49:05 wow…. every demo about seekbars contains setOnSeekBarChangeListener Mar 12 21:49:32 but i get the methode can’t be resolved!! Mar 12 21:50:14 what’s the catch with this stuff? Mar 12 21:50:26 extends AppCompatActivity? Mar 12 21:52:16 Are you... sure you're looking for it on a SeekBar object? > SetOnSeekBarChangeListener Mar 12 21:52:51 Roughy: excuse me for pebkac… Mar 12 21:58:30 as for AppCompatActivity Mar 12 21:59:03 Android has evolved a bit over the year, and devices running older version of android don't support of the newer bells and whistles Mar 12 21:59:34 the AppCompat stuff is those features backported, making them compatible with old versions of android Mar 12 22:04:46 So if you want to use android 21+ features in on an api19 (kitkat) device, you have to extend from AppCompatActivity instead of plain Activity Mar 12 22:11:29 what it has to do with seekbar :v Mar 12 22:14:17 doesn't setOnSeekBarChangeListener belong to API 1? :S Mar 12 22:14:35 I'm pretty sure that was an completely separate question. Mar 12 22:37:55 a Mar 13 00:46:12 Hello all. Mar 13 00:46:49 I'm trying to create an overlay apk to update my config_tether_dhcp_range configuration on my phone.. I'm really having a hard time finding good documentation for how to do such a thing.. Mar 13 00:46:56 Could any of you point me in the right direction? Mar 13 01:01:11 Anyone around? Mar 13 01:28:04 Is there a way to make an activity a singleton Mar 13 01:28:09 Like it can only be created once Mar 13 01:28:45 Because I'm trying to make a thing where I start a thread running in the background on my launcher activity, but I've realized that every time someone goes through the process of the app, I'll need to return to that activity Mar 13 01:28:58 And I only want one instance of that thread running Mar 13 02:23:32 URLs like "file://android_asset/something" only can be interpreted by a WebView? Mar 13 02:24:07 I'm trying to load some video files from the assets and using URI of such kind with a VideoView and it doesn't seem to work. **** ENDING LOGGING AT Mon Mar 13 03:00:01 2017