**** BEGIN LOGGING AT Wed Nov 30 03:00:01 2016 Nov 30 03:00:21 Where can I find a TextView by id and call setText()? Nov 30 03:07:55 Melatonina: You could do it in onCreateDialog. But you'd have to say something like `getActivity().getLayoutInflater().inflate(R.layout.whatever)`. Nov 30 03:08:17 Or subclass some ViewGroup and do that in `onFinishInflate`. Nov 30 03:08:53 I think I found the way. But I still have to run it to see if I did it properly. I'll report back in few minutes Nov 30 03:09:45 Man, DrawerLayout is a buggy piece of ****. Nov 30 03:09:53 Not intercepting clicks when it should be. Nov 30 03:10:26 It's almost a guarantee that every nontrivial Android component will have show-stopping bugs. Nov 30 03:11:21 <_genuser_> dialogfragment? I just find the oncreate equivalent and dump code in there. Nov 30 03:11:46 _genuser_: If he's using AlertDialog.Builder, he can't. Nov 30 03:11:54 Unfortunately. Nov 30 03:12:26 <_genuser_> TacticalJoke: ugh, do you always have to be right? Nov 30 03:12:28 <_genuser_> :p Nov 30 03:12:47 Not always. Sometimes I just make the statement anyway, hoping that I'll be proved wrong. Nov 30 03:13:06 Though, to be fair, I usually preface it with "I'm not sure". Nov 30 03:13:10 <_genuser_> I had to, recently, build a super custom dialog so that app itself is locked to horizontal but the dialog changes orientation. Nov 30 03:13:20 <_genuser_> talked about a pointless little thing that's only useful in just that one app. Nov 30 03:14:27 To be honest, I hate DialogFragment. And every Fragment. Hate it all. Nov 30 03:14:35 It's all so picky. Nov 30 03:14:39 <_genuser_> no, don't say that, they'll hear you!!! Nov 30 03:14:49 <_genuser_> I lovez t3h fragmintz. Nov 30 03:15:09 <_genuser_> setretaininstance and bypass all the dumbassery required to maintain state across orientation changes. Nov 30 03:15:46 _genuser_: setRetainInstance just uses the (now-not-deprecated) onOverrideCustomNonConfigurationInstance (or whatever the dumb name is). Nov 30 03:16:04 onRetainNonConfigurationInstance* Nov 30 03:16:21 <_genuser_> oh, now "not deprecated". so it's hip to use it ? Nov 30 03:17:18 <_genuser_> from docs: "If you are targeting HONEYCOMB or later, consider instead using a Fragment with Fragment.setRetainInstance(boolean." Nov 30 03:17:44 <_genuser_> so right, I guess setRetainInstance is just a shortcut. A welcome one, I suppose. I have all teh wiring. Nov 30 03:17:50 <_genuser_> *I hate all the wiring. Nov 30 03:18:07 Here's the non-deprecation thing: https://code.google.com/p/android/issues/detail?id=151346 Nov 30 03:19:47 <_genuser_> so in API 24, they "undeprecated" it? Nov 30 03:19:52 <_genuser_> or marked is resolved somehow else? Nov 30 03:20:00 They undeprecated it. Nov 30 03:20:07 <_genuser_> nice. Nov 30 03:20:17 <_genuser_> Love nerds fighting online, using lingo I have no clue about. heh Nov 30 03:35:04 Yeah, I enjoy that. e.g., Linus versus Tanenbaum. Nov 30 03:39:38 where would I start if I want an app to perform an action when another app sends an SMS (and that SMS is inserted into the system SMS database)? Nov 30 03:40:01 ifttt and tasker seem to both be able to do it, but I don't know how Nov 30 03:44:16 is there a way to determine which port my emulator is using? Nov 30 03:45:25 I know adb devices will tell me but if I am running multiple emulators, I cannot determine which of my "emulator" calls maps to which port Nov 30 03:45:35 since the "emulator" command will just pick the next available Nov 30 03:50:24 if only the emulator command allowed you to specify the serial number instead of a port Nov 30 03:50:33 this must have been an oversight Nov 30 03:57:23 Hmm, if you switch the apps name and update the apk in the store, users wont end up with 2 separate launcher icons rights? Im assuming itll just update the apps name under the icon automatically Nov 30 05:11:55 I have been trying to reduce the battery usage of my game. The thing is, I don't know what might be typical. How long do you expect to run a game before it drops your battery by 10%? Or what would be a better way to think about this? Nov 30 05:29:36 how do I know if my phone is armv7 or x86? Nov 30 05:34:11 it's very very likely arm... Nov 30 05:34:21 thank you Nov 30 05:34:44 you wouldn't have happened to use ionic before, have you? Nov 30 05:37:59 nope Nov 30 05:38:27 for what it's worth, you can look up your phone on something like gsmarena if you want to confirm the CPU Nov 30 05:51:14 Leeds, any idea what could be the issue here: http://paste.ofcode.org/ACRXGjSUzanFYzwhptX5nB Nov 30 05:59:21 How do I make an AlertDialog resize to wrap the content? Nov 30 05:59:45 I didn't remember dialogs behaving this way but apparently they don't resize by default. Nov 30 06:21:10 raj: for a start, use debug signing at least Nov 30 06:44:51 hi Leeds Nov 30 07:09:33 Should all devices need to implement its own structure by HAL?such as mmc devices Nov 30 07:24:14 Which, if any, android broadcast intent is triggered when an app sends an SMS and/or saves that sent SMS to the system SMS database? Nov 30 07:30:09 SMS? Nov 30 07:34:11 hey guys, anyone has issues with multidex on api<19 with espresso (on build tools 25.0.1)? Nov 30 07:36:22 sam_yan: "texting" Nov 30 07:36:33 MEssages Nov 30 07:44:59 sparr: ok Nov 30 09:03:03 hi! Nov 30 09:04:28 can i get edittext's value via annotations? Nov 30 09:05:11 for example if I have something like @customAnno private EditText mInput, how can i get mInput's value? Nov 30 09:45:36 hey fellas Nov 30 09:45:55 how would I inject into a class? not an activity or anything, just a factory class Nov 30 09:47:12 one moment Nov 30 09:50:53 where is Syzeyyzfhfgy Nov 30 10:24:04 2016-11-30 19:43:35 <-- Syzygy_ (506e1f91@gateway/web/freenode/ip.80.110.31.145) has quit (Ping timeout: 260 seconds) Nov 30 10:52:21 ah thanks nyuszika7h Nov 30 10:54:03 ok I have the problem, I cannot inject into a standalone class? Nov 30 10:54:18 because for me to inject I have to supply this line ` ((GMFit_Application) application).getAppComponent().inject(this);` Nov 30 10:54:25 where application is also injected Nov 30 10:54:30 it's a Context object Nov 30 11:00:04 that's impossible, of course I can inject into a standalone class? Nov 30 11:06:16 pduin, remember yesterday when you said that thing about alert dialog Nov 30 11:06:20 and it being non-theme aware Nov 30 11:07:06 yes Nov 30 11:13:57 maxlines="1" and ellpisize"end" is clipping whole words instead of characters in my textview. Any idea why? Nov 30 11:14:24 well I first ran into that problem of the themeless dialog, but there is a constructor which you can use where you can give it your theme, so that's easy Nov 30 11:15:08 but now I run into Unable to add window -- token null is not for an application Nov 30 11:15:35 doesnt know where its context is Nov 30 11:16:12 think I very well might have clusterfucked myself Nov 30 11:16:54 Odaym: Don't use application context, use activity context Nov 30 11:17:01 well, I know that Nov 30 11:17:05 but I'm not sitting in the Activity Nov 30 11:17:22 I'm sitting in the AppModule, where Im trying to inject things and see how this whole thing works Nov 30 11:17:56 I don't think you can add dialog to window without activity Nov 30 11:17:58 I think it's easiest to let go of the idea of injecting a static dialog, and just creating one when you need it Nov 30 11:18:20 it's pretty stupid but I couldn't have found out until I tried Nov 30 11:18:29 I think it's impossible to get who the calling activity is without..being there Nov 30 11:20:01 Among activities if you use startactivityforresult, you can use getcallingactivity to get parent activity Nov 30 11:20:12 yea that's another case Nov 30 11:20:20 im in a standalone class now Nov 30 11:20:26 besides I shouldn't be able to do that Nov 30 11:20:33 so much confusion Nov 30 11:20:49 Adding a search to my leanback app Nov 30 11:20:55 anybody know the MIME type for breakfast? Nov 30 11:29:52 hello, is it possible to use exoplayer2 with websockets ? Nov 30 11:42:18 so no injection for stuff that relies on an activity context explicitly Nov 30 11:42:21 just...don't Nov 30 11:42:25 tell the others! Nov 30 11:42:29 * Odaym sulks Nov 30 12:08:52 hi all Nov 30 12:09:37 hi my friends Nov 30 12:14:06 I have been trying to reduce the battery usage of my game. The thing is, I don't know what might be typical. How long do you expect to run a game before it drops your battery by 10%? Or what would be a better way to think about this? Nov 30 12:20:10 is this some fancy graphics intensive game Nov 30 12:23:02 GBGames, you have to profile your app/game, find costly calls and make them cost less Nov 30 12:23:38 the more you use the cpu and the gpu, the more it impacfts the battery.. Nov 30 12:28:29 Ashiren: No, it isn't, but I know I'm not running it as optimally as I can. Nov 30 12:29:22 so optimize it as you can Nov 30 12:29:30 adq: Sure, and I learned that rendering was the most costly, so I've reduced the number of times I redraw the screen needlessly, but otherwise I still seem to drop the battery by almost 10% in 30 minutes of play. Nov 30 12:29:59 first think of cpu/gpu usage Nov 30 12:30:13 then battery will benefit from it indirectly Nov 30 12:30:58 ^ Nov 30 12:31:35 you should not really base your assumptions on how battery decreases (it's not even linear) Nov 30 12:31:42 Ok, thanks for the advice! Nov 30 12:31:59 just identify costly calls, optimize them to make them less costly, and so on Nov 30 12:32:20 Yeah, I figured it would be different depending on any number of factors (how warm my room is, how much battery charge is there, etc). Nov 30 12:32:40 take a slow/old device if you plan to measure performances Nov 30 12:33:02 you will see more obviously what is costly and how you diminished the cost after opti Nov 30 12:33:08 don't use a high-end device Nov 30 12:34:04 And that's why I kept my old phone. B-) Nov 30 12:34:12 I knew it would come in handy. Nov 30 13:03:41 hi I have a grid view inside each list item but te issue is every list item taking equal height it not exapnding according to grid view items Nov 30 13:04:49 does anyone know how to fix this... i tried everything Nov 30 13:05:06 shall i post my code. Nov 30 13:16:16 strange I have autologin set in HexChat, but my client always manages to join this channel before being identified Nov 30 13:16:25 then Im shuffled to an unreg channel Nov 30 13:39:13 wtf is with NotificationCompat.Builder, when setting a notification with setSmallIcon to one of my drawables, it loads the wrong icon Nov 30 13:39:31 large one works Nov 30 13:40:51 test on different api, you will be amazed of the discrepancy Nov 30 13:41:10 start with just api 24, api 23 and api 21 Nov 30 13:42:15 am testing on 23 api, it crashes when i try load from mipmap, loads the wrong one from drawable, sometimes works on 19, sometimes not Nov 30 13:42:22 how is that even possible? Nov 30 13:45:45 I apologize in advance for being a n00b, but having gradle woes. Specifically, "This version of Android Studio is incompatible with the Gradle Plugin used.". Android Studio 2.2.2, Gradle 3.2.1 <- seems to be the newest I could find. My build.gradle uses: classpath 'com.android.tools.build:gradle:2.3.0-alpha2' Nov 30 13:51:02 I'm trying to send JSON to an API written in PHP using Slim framework. The parameters are not getting sent through. THe values end up empty at the server. Nov 30 13:53:16 i have yaairc source. how to compile it? i want to make .apk Nov 30 13:53:26 Thanks all, problem solved. Changed gradle version to 2.2.2 in build.gradle and it works. Nov 30 13:53:42 wee Nov 30 13:54:12 Why might a POST from Android end up with empty values at the API server? Nov 30 13:57:34 because it's not set up properly Nov 30 13:59:14 MarkProffitt: Perhaps you didn't encode things properly? Dump the entire query (header and body) to a text file on the server end and look at it. Nov 30 14:21:10 well you're sending the wrong param names probably Nov 30 14:40:07 If I have modules a, b, and c, where b depends on a, and c depends on a, is there any good way to write some test classes that can be shared by all 3 modules Nov 30 14:41:10 testCompile in build.gradle seems to only be able to point to actual java source sets Nov 30 14:42:28 So currently I have a separate module x with shared test code in the java source set instead of test. It works, but only if I exclude lint check on the module x. Lint checks on module x simply freeze the gradle build process. No errors, no crashing, just fr eezes Nov 30 14:43:03 "./gradlew clean test -x :modulex:lint" works, "./gradlew clean test" freezes Nov 30 14:47:11 (all hail gradle :) haven't tried this, but notice there's a testRuntime configuration (for the java plugin at least) Nov 30 14:48:01 oh wait, you need it to compile too, d'oh :) Nov 30 14:48:53 http://google.github.io/android-gradle-dsl/current/com.android.build.gradle.api.AndroidSourceDirectorySet.html#com.android.build.gradle.api.AndroidSourceDirectorySet:srcDir(java.lang.Object) Nov 30 14:48:55 :| Nov 30 14:48:57 srcDir Nov 30 14:49:06 because addSrcDir is just too verbose Nov 30 14:50:40 Hmm maybe I could add a source directory relative to the project level Nov 30 14:50:43 I'll try that Nov 30 14:50:47 Dagmar: this is the header {"charset":"utf-8","Content-Type":"application\/json","Accept":"application\/json","User-Agent":"Dalvik\/2.1.0 (Linux; U; Android 5.0.2; Android SDK built for x86 Build\/LSY66K)","Host":"makevaluehappen.com","Connection":"Keep-Alive","Accept-Encoding":"gzip","Content-Length":"70"}{"uid":"fa4d5bfe-b70b-11e6-9147-040158666a01"} Nov 30 14:56:15 You can't put JSON in the header. Problem solved. Nov 30 14:58:52 Anybody know if calling requestFocus() on a SearchEditText breaks it's SearchResultProvider? Nov 30 14:58:56 Looks like it does... Nov 30 15:28:00 does anyone know the functionality of androids network stack? Nov 30 15:28:22 Im lead to believe Android cannot fallback to a low wifi standard (AC -> N) Nov 30 15:32:28 Dagmar the JSON is not in the header, I was wondering if something in the header was causing the JSON in the body to have empty values Nov 30 15:33:32 What you pasted in here was _JSON_ Nov 30 15:33:50 It will never function as a POST query Nov 30 15:35:19 woooo Nov 30 15:35:28 I got it all to work with srcSet Nov 30 15:35:44 The same idea from http://blog.danlew.net/2015/11/02/sharing-code-between-unit-tests-and-instrumentation-tests-on-android/ works across modules as well Nov 30 15:36:15 I just changed 'src/sharedTest/java' to '../common-module/src/sharedTest/java' Nov 30 15:40:19 Dagmar, I'm pasting what is making it to the server Nov 30 15:41:33 Dagmar I'm using postDataParams.put("event_type", "OverTemp"); Nov 30 15:41:33 to set the values Nov 30 15:43:07 Dagmar The JSON names are making it but not the values {"android_id":null,"event_type":null,"event_value":null,"event_version":null} Nov 30 15:44:32 Dagmar Log.e("params", postDataParams.toString()); -->> {"event_type":"OverTemp","event_value":444,"event_version":1,"android_id":"bbbbbbb"} Nov 30 15:45:24 Dagmar something is causing the values to be lost between Android and the API Nov 30 15:46:20 Dagmar I saw a similar problem when using CURL if I reversed single quotes and double quotes Nov 30 15:59:20 Dagmar I figured it out Nov 30 16:02:13 any http connection expert? Nov 30 16:05:52 skin1980: nope Nov 30 16:06:14 yiati: tnx anyway Nov 30 16:07:37 skin1980: rule #1 http://rurounijones.github.io/blog/2009/03/17/how-to-ask-for-help-on-irc/ Nov 30 17:22:53 The required gradle versions here show 2.14.1+ as being compatible, but 3.x of gradle is released. Has anyone noticed any breaking changes switching to 3.x of gradle? Nov 30 17:24:13 Going to try it out now Nov 30 17:24:15 no issue there yiati, i'm using distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip since few weeks Nov 30 17:24:30 nice Nov 30 17:25:31 so I usually update with something like "./gradlew wrapper --gradle-version 3.2.1" Nov 30 17:26:05 adq: Do you just manually go into the gradle-wrapper.properties and change it to be 3.1-all Nov 30 17:26:15 who has android sms spoofer open source, i will pay $paypal Nov 30 17:26:22 vs bin Nov 30 17:26:35 yep yiati, i do it manually, i just watch from time to time: http://services.gradle.org/distributions/ Nov 30 17:27:05 as an advice, you should also bookmark and watch from time to time: https://jcenter.bintray.com/com/android/tools/build/gradle/ but this time for the android gradle plugin Nov 30 17:27:25 not sure what you meant with vs bin Nov 30 17:27:37 Cool, yeah I watch the bintray for android tools, didn't know about that gradle distro link though thanks Nov 30 17:27:37 but those are 2 different things, gradle itself and the android gradle plugin Nov 30 17:27:52 it's so ambiguous Nov 30 17:27:55 adq: -bin vs -all vs -src Nov 30 17:27:58 yeah Nov 30 17:27:59 k Nov 30 17:28:09 I always have to explain to my team what the difference is Nov 30 17:28:16 :') Nov 30 17:28:18 can someone provide open android sms spoofer, keep it simple too? like one .java and one .xml Nov 30 17:28:25 no Nov 30 17:29:31 guess ill just browse through codecanyon then -.- Nov 30 17:34:22 adq: So what benefites does downloading -all give you vs -bin? I know that it also includes source, but tmk -bin at least also downloads the javadoc.jars so that you can click into and browse the API of the gradle source Nov 30 17:35:10 i really never bothered tbh Nov 30 17:36:00 it looks like all = bin + src Nov 30 17:36:33 yeah Nov 30 17:36:38 * yiati shrugs Nov 30 17:41:14 I definitely need help guys, in this page http://www.crimnet.dcpc.interno.gov.it/servpub/ver2/SCAR/cerca_targhe.asp if i add my plate it says if the plate is stolen or not... Nov 30 17:41:34 but i cannot make the get request working Nov 30 17:48:13 skin1980: What is going wrong Nov 30 18:10:11 Is there a point to disconnect GoogleApiClient? Nov 30 18:26:36 Will it work if I use Retrofit2 with GSON to feed data into an incomplete model? (e.g. a model that only contains a name when the json I'm receiving contains name and id) Nov 30 18:28:13 you’re saying that your model class doesn’t have all the fields that your JSON returns? Nov 30 18:28:16 yeah, that should work Nov 30 18:48:08 Which, if any, android broadcast intent is triggered when an app sends an SMS and/or saves that sent SMS to the system SMS database? If none, how else can I trigger an action in my app when that happens? Nov 30 18:49:49 sparr: https://developer.android.com/guide/components/intents-common.html#Messaging Nov 30 18:50:36 yiati: that's how to send a message, not how to get notified when another app sends a message. unless I'm overlooking something? Nov 30 18:51:00 i don’t believe you can be Nov 30 18:51:11 it’d be a broadcastreceiter, if you can Nov 30 18:51:20 BroadcastReceiver, I mean Nov 30 18:51:29 yeah, I've looked at the broadcastreceiver intents. there's one for a received SMS, but not for sent Nov 30 18:51:41 IFTTT can trigger on sent SMSes, but it's not open source so I can't see how they did it :/ Nov 30 18:52:03 send an email and ask? Nov 30 18:52:11 the worst they can do is say no Nov 30 18:52:15 sparr: If that's how apps trigger intents for sms, then those are the type of intents you can subscribe to Nov 30 18:52:32 Which is why that link is useful Nov 30 18:52:52 but you only will have that intent delivered if you’re the one sending the sms Nov 30 18:53:12 Nope Nov 30 18:53:18 I think s73v3r is right Nov 30 18:53:36 I’m 90% sure you’re not going to get the SendSMS intent if you’re not the app selected to send sms messages Nov 30 18:53:42 however, that's moot. that intent is to tell an SMS app that you want it to send a message. the sms app receives it from your app, then sends it. Nov 30 18:53:43 hmm Nov 30 18:53:53 If you’ve got some documentation to prove me wrong, I’d love to see it Nov 30 18:53:55 Well I guess it depends on how the sms client sends the intent Nov 30 18:54:01 whether one or five apps get that intent, I need to know when the sms app does the actual sending Nov 30 18:54:10 Yes it's possible for the intent to be limited to the sms client Nov 30 18:55:03 s73v3r: Ah yeah "if your not the app selected to send sms messages" Nov 30 18:55:12 yeah that's probably the answer you are looking for sparr Nov 30 18:55:22 you need to become the app selected to send sms messages Nov 30 18:55:26 if I'm writing an app that is NOT an sms app, but wants to get an sms sent, then I use that intent to tell a/the sms app to send an sms on my behalf Nov 30 18:55:29 sparr: does the IFTTT app set itself up as the one selected to send SMS? Nov 30 18:55:34 s73v3r: no Nov 30 18:55:50 do they have permission to read the SMS database? Nov 30 18:55:51 hmm touché Nov 30 18:56:32 What is the best way to format stack traces for StackOverflow? They're a pain when trying to copy Nov 30 18:56:42 s73v3r: yes, "read your text messages (SMS or MMS) Nov 30 18:56:43 sparr: look into the SMS database. I believe it’s a contentprovider Nov 30 18:56:53 that might allow you to be notified when it’s changed Nov 30 18:58:42 http://stackoverflow.com/questions/7089313/android-listen-for-incoming-sms-messages Nov 30 18:58:43 might be a bit out of date, but the idea is the same: http://mylifewithandroid.blogspot.com/2008/03/observing-content.html Nov 30 18:59:23 yiati: incoming is easy. there's a broadcastreceiver intent for that Nov 30 18:59:53 yeah, I think you’re gonna have to observe the contentprovider for sms Nov 30 19:00:11 I wonder if IFTTT does anything beyond incoming Nov 30 19:00:14 s73v3r: the base contentprovider doesn't seem to have any sort of notification system. if the sms database content provider added that, where would I find documentation on it? Nov 30 19:00:19 yiati: it does Nov 30 19:00:33 https://ifttt.com/channels/android_messages/triggers/1143127988-any-new-sms-sent Nov 30 19:00:37 i’m pretty sure there’s a notify changed Nov 30 19:01:12 if not, you could poll the database Nov 30 19:01:23 i guess it depends on how soon after being sent you need to know Nov 30 19:05:35 Anyone familiar with rx mind checking this out: http://stackoverflow.com/questions/40879126/onerrornotimplementedexception-somehow-still-being-called-with-included-error-ha Nov 30 19:08:35 s73v3r, thanks for your answer earlier. Nov 30 19:19:01 polling seems so very antithetical to good mobile app design :( Nov 30 19:19:45 I normally don't do this, but someone downvoted it so it's gonna get no attention otherwise... Nov 30 19:19:50 would you guys upvote this? https://stackoverflow.com/questions/40882704/trigger-an-action-in-an-android-app-when-another-app-sends-saves-a-sms Nov 30 19:21:22 no Nov 30 19:23:56 np Nov 30 19:36:54 Is there a difference between Firebase App Indexing (introduced in 10.0.1) and the regular app indexing API? Nov 30 19:37:19 Hi, can you not delete an android develoepr account? Can I not delete an app that has been published as alpha test? Nov 30 19:45:56 I have three textViews in a horizontal LinearLayout. How can I ensure that the text in the middle text view appears as close to the middle of the LinearLayout as possible, regardless of the width of the other TextViews? Nov 30 19:47:56 you can align the textview to the center of it’s parent Nov 30 19:48:10 although you might be better off using a RelativeLayout for that Nov 30 19:48:21 How? Nov 30 19:48:31 using alignParentCenter Nov 30 19:48:57 linearlayout and gravity/layoutGravity could suffice Nov 30 19:49:23 Well, if you assign weights to them Nov 30 19:49:43 No, because I don't know the sizes of the views on the side Nov 30 19:49:59 do you know the size of the view in the center? Nov 30 19:50:09 Well, it simply contains a dash Nov 30 19:50:11 RelativeLayout is probably your best best in this case Nov 30 19:51:17 Just around the middle text view, or instead of the linearlayout? I've never used RelativeLayout before. Nov 30 19:51:27 instead of the LinearLayout Nov 30 19:57:09 Thanks, the RelativeLayout was just what I needed Nov 30 20:08:27 Napalm https://aws.amazon.com/blogs/aws/developer-preview-ec2-instances-f1-with-programmable-hardware/ Nov 30 20:24:36 g00s: OMG! Nov 30 20:25:00 time to brush up on your verilog :) Nov 30 20:25:27 i never used verilog; it was VHDL at the time Nov 30 20:28:43 yea, dontcha know it Nov 30 20:28:49 thats a game changer Nov 30 20:30:54 //it's necessary to avoid edge cases (literally, no pun intended) with not loaded locations on the map Nov 30 20:30:57 heh, pun comments Nov 30 20:31:38 Exception up = new Exception("blaaarghh!"); Nov 30 20:31:40 throw up; Nov 30 20:34:18 Anyone have any experience with implementing a custom content provider to pipe content for an external media player? From what I've read it doesn't seem to work since most media players expect to seek the content. Nov 30 20:38:39 Hello! I am not sure why, but my VideoView is collapsed to 0 height, even though it has wrap_content in XML Nov 30 20:38:52 Does anybody know what is wrong? Nov 30 20:42:15 loredan13: no content? Nov 30 20:43:06 Melatonina: yes, I am doing setVideoPath(), but it doesn't semm to do anything to the view Nov 30 20:43:15 *seem Nov 30 20:43:58 Can it be because I am doing all this before adding the view to activity? Nov 30 20:45:17 loredan13: I used VideoView only once because it sucks so I don't remember how I use it. But I can imagine that the view could no be aware of the size of the video until it's played anyway. It doesn't make much sense to use wrap_content Nov 30 20:46:32 Melatonina: ah, right, I did something about that... Nov 30 20:47:01 Melatonina: did you happen to use something else in place of VideoView? Nov 30 20:47:57 loredan13: people use exoplayer. I ended up writing my own player because I had special needs Nov 30 20:48:15 loredan13: https://developer.android.com/guide/topics/media/exoplayer.html Nov 30 20:49:20 Melatonina: well... how did I miss that? Nov 30 20:49:25 Melatonina: thanks a lot! Nov 30 20:57:42 loredan13: np. Someone here suggested it to me too Nov 30 22:16:55 hey whats the most easy way to have a button with no background, an icon and text below it? and i want it all to be clickable... Nov 30 22:18:04