**** BEGIN LOGGING AT Sat Sep 14 02:59:59 2013 Sep 14 03:00:11 http://android.okhelp.cz/create-bitmap-and-draw-text-into-bitmap-android-example/ this seems to do this Sep 14 03:06:58 hm, do you guys check in gradle.properties Sep 14 03:08:26 lol I acciently made LSD live wallpaper Sep 14 03:09:17 then I made it worse. ow. Sep 14 03:10:11 I should probably do something more with my live wallpaper at some point Sep 14 03:10:23 maybe add some of the other penrose tilings Sep 14 03:10:56 gotta finish up smali 2.0 though Sep 14 03:10:58 * JesusFreke sighs Sep 14 03:12:13 JesusFreke using antlr4 for smali 2 ? Sep 14 03:12:21 :D Sep 14 03:12:29 g00s: nope Sep 14 03:12:49 XXCoder: what are you trying to do exactly? Sep 14 03:13:06 draw on alpha_8 Sep 14 03:13:15 it was successful Sep 14 03:13:39 right, but did you want it a specific color? Sep 14 03:13:54 texture but its just red on blue background at this time Sep 14 03:14:13 hmm Sep 14 03:14:23 that reminds me, what was that live wallpaper i saw the other day Sep 14 03:14:35 I decided to strip complexity to get to get this very hard (for me) thing to do. now working it to get to the exact effect I want. Sep 14 03:14:55 https://play.google.com/store/apps/details?id=com.io.wallpaper.circuitry Sep 14 03:14:57 that is awesome! Sep 14 03:16:09 if youre curious with mine, look for node battle and windyflowers. not very fancy (and node battle is very broken due to broken < 1 thickness lines not being drawn correctly) Sep 14 03:16:44 XXCoder: 1 * density = win Sep 14 03:17:12 okay! I will look into that :) node battle needs updating anyway its bit old now Sep 14 03:18:06 dump question. how do current reviews say only "A Google User" … i thought names always appeared now Sep 14 03:18:18 grandfathered in Sep 14 03:18:25 no, its 2013 Sep 14 03:18:30 oh thats weird Sep 14 03:18:31 Sep 2, 2013 Sep 14 03:18:42 Actually, quite a few Sep 14 03:18:45 g00s: its an old comment thats been updated Sep 14 03:18:54 ah Sep 14 03:18:57 damn Sep 14 03:19:01 g00s: have you not noticed, old comments dont get their app version updated Sep 14 03:19:05 sucks to hell Sep 14 03:19:05 thats cool licve wallpaper napalm Sep 14 03:19:11 yea it is Sep 14 03:19:15 freaking awesome Sep 14 03:19:17 is what it is Sep 14 03:19:54 builds up wow Sep 14 03:20:30 i selected 'latest version' and it still shows ' a google user' for 2013; so are you saying they may have reviewed at release 1.0, and the updated the comment for the latest release, and thats why its like that ? Sep 14 03:20:49 g00s Sep 14 03:21:15 g00s: that means they are using the latest version, but the "comment" model object in play store still believes its not Sep 14 03:21:30 dahell Sep 14 03:21:35 yup Sep 14 03:21:40 f'd up Sep 14 03:22:01 if they have previously commented, that comment is stuck with being identified with previous version Sep 14 03:22:04 bug in the play-store Sep 14 03:22:27 i assume then that also relates to their name display Sep 14 03:28:33 dammit cant do src and multiply at same time Sep 14 03:28:53 paint with the different duff modes Sep 14 03:29:09 XXCoder: ^ Sep 14 03:29:19 yeah thinking on how to do that Sep 14 03:29:27 Quora says I can sign up via Twitter Sep 14 03:29:33 So I sign up via Twitter Sep 14 03:29:47 Then it wants my e-mail and a password Sep 14 03:29:57 XXCoder: create two portduff mode objects.. apply them to the paint object in turn and paint twice Sep 14 03:30:16 Why the hell would I sign up through Twitter if I knew I had to do that? Sep 14 03:30:18 Blech Sep 14 03:30:20 hmm lemme see if that works Sep 14 03:44:29 Ologn, twitter's API doesnt' allow access to the user's email address Sep 14 03:52:52 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 03:55:46 hello! I'm having some major trouble getting STL working with the NDK in eclipse, and I' wondering if anyone has had similar issues Sep 14 03:56:25 Napalm, i think my bug is invalid Sep 14 03:56:52 becuase i'm still having the problem - and i found that i can change orientation a ton and still have 1 instances - it's not until I add an item to the gridview that it stops being collected Sep 14 03:58:26 anyone here using the ndk with eclipse? Sep 14 04:00:15 gavilan2: you saveInstanceState chain in your view hierarchy is busted Sep 14 04:00:59 gavilan2: do you change layouts for land/port .. does say port have an edit-text with say @id/blah1 and then on in land have a text-view with say @id/blah1 Sep 14 04:01:14 gavilan2: then you will get the text-view trying to restore state from a edit-text Sep 14 04:01:18 Napalm: nope Sep 14 04:02:05 you can also get these when your layout hierarchy has changed and your using the same id's and such or you have some other type of id conflict in the view hierarchy tree Sep 14 04:02:49 Napalm: These crashes only happen in 1% of the cases Sep 14 04:03:00 it's not "deterministic" for all users Sep 14 04:03:27 that doesnt mean its not deterministic Sep 14 04:03:32 I've been trying to get STL working the whole day :/ has anyone else used it with Eclipse+NDK ? Sep 14 04:03:34 gavilan2: let me explain Sep 14 04:04:31 gavilan2: looks to me like the IME input channel is open when the activity gets rotated (ie the keyboard is open and an edit-text has focus) Sep 14 04:04:37 see if you can repeat Sep 14 04:05:00 Napalm: I know... Everything in a PC is deterministic, but still Sep 14 04:05:15 Napalm: My app has landscape mode disabled Sep 14 04:05:45 does it? Sep 14 04:05:47 are you sure Sep 14 04:05:49 :P Sep 14 04:05:58 does it support the 180 degree rotation? Sep 14 04:06:04 land-to-land Sep 14 04:06:10 Napalm: I think that might work Sep 14 04:06:26 there are edge cases where non-landscape apps get run in landscape Sep 14 04:07:02 oh or there is a case on samsung devices where your app is in portrait but gets measured as if it was in landscape, and then immediately remeasured for portrait Sep 14 04:07:36 easiest way to test forced landscape is with Orientation Control from the Play Store. but it can sometimes be caused momentarily by exiting a landscape app into the forced-portrait app Sep 14 04:07:42 Napalm: Still, I have only a single set of layouts, so if it tries to restore the state, it'll work Sep 14 04:08:30 its more than lightly then a custom IME not playing ball Sep 14 04:08:34 so imagine this Sep 14 04:08:41 I'm sorry I keep repeating myself but this is maddening, why on earth doesnt the ADT have built in support for the NDK?! This is driving me insane, I finally have everything working, in fact I can build from the command line with STL in my code and everything works! But eclipse is convinced none of the STL symbols exist! Sep 14 04:08:49 why do you think that error is related to a rotation anyway? Sep 14 04:09:54 gavilan2: because thats the one of the usual instances where the view hierarchy is saved and restored Sep 14 04:10:38 Napalm: And why do you think that the view is being restored there? (I don't know that much about android, I'm trying to understand) Sep 14 04:11:51 gavilan2: look at the stack-trace Sep 14 04:12:17 gavilan2: first its caused by handleResumeAcitivity.. so your activity in question is getting resumed Sep 14 04:12:56 Any idea why I might be getting this java.lang.NullPointerException in android.graphics.drawable.AnimatedRotateDrawable$AnimatedRotateState.canConstantState http://pastebin.com/Wa0Fwx4a (Google Play Stack Trace) ? Sep 14 04:13:29 gavilan2: then the views are getting added, and then the window session is being restored which wants to attach the input channel back to the focused widget Sep 14 04:14:45 gavilan2: yes, one of your view's probably a custom one is doing something outside its api-level in its constructor Sep 14 04:14:55 I don't think it's even gotten to the focused view yet. It's still working on adding the view root Sep 14 04:15:03 wait Sep 14 04:15:06 ignore that Sep 14 04:15:13 ? Sep 14 04:15:23 i saw InvocationTargetException Sep 14 04:15:42 but it is infact indicating the constructor is failing Sep 14 04:15:51 k Sep 14 04:15:58 gavilan2: look at the very bottom Sep 14 04:16:23 at dalvik.system.NativeStart.main(Native Method) ? Sep 14 04:16:32 gavilan2: your constructing a ProgressBar view and its failing to load the resource Sep 14 04:16:38 its drawable resource Sep 14 04:16:49 yes Sep 14 04:17:54 I've just tried rotating all the views in my app, and it didn't crashed Sep 14 04:18:00 things id think of, 1. is the inflation context correct, 2. is there a custom style being applied to the view, 3. do i override the default style in the theme, 4. is it possible the drawable reference in the layout is incorrect, or its being overridden incorrectly Sep 14 04:18:48 that thingis calling this.setContentView(R.layout.mylayout) Sep 14 04:18:53 gavilan2: you only need to test the ones with input fields like EditText that take the IME/Keyboard focus Sep 14 04:18:54 so I'd think that the context is correct Sep 14 04:19:13 Napalm: I don't think I have any of those in my app Sep 14 04:20:35 gavilan2: find the ProgressBar view in your app and go from there Sep 14 04:21:08 I know where that progress bar is Sep 14 04:21:12 but there is no edit there Sep 14 04:21:29 who says its anything to do with edit? Sep 14 04:21:33 i was talking about the other bug Sep 14 04:21:52 oh, ok Sep 14 04:22:02 still, I know where that progres bar is Sep 14 04:22:08 in 99% the activity seems to work fine Sep 14 04:22:09 beh? Sep 14 04:22:12 I've no idea why it's crashing Sep 14 04:22:55 oh, was scrolled back Sep 14 04:23:08 two threads syncing isn't deterministic at all :P Sep 14 04:24:31 warning: addPreferencesFromIntent calls PreferenceManger#inflateFromIntent which is broken, it creates a context from the package and ignores themeing Sep 14 04:24:41 general warning that is Sep 14 04:24:54 Napalm: ? Sep 14 04:24:56 ok Sep 14 04:24:56 anyone worked with the NDK at all? Sep 14 04:25:07 Napalm: So any suggestion for any of my bugs? Sep 14 04:25:22 nope Sep 14 04:26:04 is there another channel I can go to for help? Sep 14 04:26:09 FFFFFCUUUUUUUUUUUUJKCKKKKKKKKk Sep 14 04:26:11 Art_Vandelay_: whats wrong Sep 14 04:26:24 * Napalm watches jedir0x have a do'h moment Sep 14 04:26:25 god damnit, WHAT THE FUCK IS LEAKING MY ACTIVITY Sep 14 04:26:34 still not found it? Sep 14 04:26:35 seriously man, this is insanity Sep 14 04:26:37 nope Sep 14 04:26:43 Is there any easy way to find resources leaks? Sep 14 04:26:44 the heap dumps are fucking useless Sep 14 04:26:51 hello Sep 14 04:26:58 jedir0x: profile your code Sep 14 04:26:58 i've gone through everything Sep 14 04:27:11 profile and look for what? Sep 14 04:27:16 jedir0x: did you post your code on pastebin ? Sep 14 04:27:20 well thats the thng Sep 14 04:27:23 ;) Sep 14 04:27:24 let me post it Sep 14 04:27:44 https://gist.github.com/briandilley/1637d2490380ab63e6e4 Sep 14 04:28:01 you'll notice i'm not even loading an image Sep 14 04:28:04 or using the task at all Sep 14 04:28:24 just putting a view into the grid, that's it - it's got a background color of black Sep 14 04:28:41 the only other "moving" part is the fragment Sep 14 04:28:49 Napalm I'm trying to get STL symbols working in Eclipse with the NDK Sep 14 04:29:08 it's specifically for being able to detach\re-attach a long running task across activities. Sep 14 04:29:38 and that fragment is here: https://gist.github.com/briandilley/374de9db0db6b67b8de7 Sep 14 04:29:39 I can build my project from the commandline, but Eclipse is giving me errors about undefined STL symbols Sep 14 04:30:36 Art_Vandelay_: are you compiling them seperate as cxx/cpp files.. and then your jni is .c Sep 14 04:31:26 compiling what? my code is in c++: http://hastebin.com/kuqavujefa.cpp Sep 14 04:32:06 it runs when I build it from the commandline, but Eclipse/ADT dont seem to understand that the STL symbols are defined Sep 14 04:32:12 Art_Vandelay_: STL not SDL Sep 14 04:32:27 Art_Vandelay_: pastebin your errors Sep 14 04:32:53 http://hastebin.com/vaqojuxufo.pas Sep 14 04:33:09 Any idea why I might be getting this android.os.TransactionTooLargeException in android.os.BinderProxy.transact:http://pastebin.com/6VLh1XVL (Google Play Stack Trace) ? Sep 14 04:33:20 fuck me Sep 14 04:33:30 gavilan2: i already told you Sep 14 04:33:49 Napalm: There is nothing strange with that progress bar Sep 14 04:33:59 and I don;t have any edit boxes in the whole app Sep 14 04:34:25 and I'm not sending anything big in an intent or bundle Sep 14 04:34:47 Its obvious Eclipse just cant find the symbols, but for some reason it can find the headers Sep 14 04:35:18 gavilan2: look what a quick googling found > http://stackoverflow.com/questions/11451393/what-to-do-on-transactiontoolargeexception Sep 14 04:36:07 I've already checked that... I'm not sending anything big... And I'm not calling any other process that I'm aware, nor I have any services Sep 14 04:36:50 gavilan2: do you open any files? Sep 14 04:37:25 Napalm: I read files with inputfilestream blah blah Sep 14 04:38:00 you might be leaking the file descriptors/handles if you dont close them properly Sep 14 04:38:38 Napalm any ideas? Sep 14 04:39:13 no sorry Sep 14 04:39:51 Napalm: Is there any way to detect that easily? I've already made a manual checked, but I've might have missed something Sep 14 04:47:40 yawn Sep 14 04:48:51 * JesusFreke hands canadiancow some coffee Sep 14 04:50:24 JesusFreke, i appreciate the gesture, but i want to fall asleep at a reasonable time tonight Sep 14 04:50:28 i just cnat do it for another 2 hours :P Sep 14 04:52:52 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 04:53:42 dammit Sep 14 04:53:58 seems only way for it to do what I want is it pixel set each alpha Sep 14 04:54:20 which is slow as hell Sep 14 04:55:32 jedir0x, how's that? Sep 14 04:55:43 ? Sep 14 04:59:44 you said you may have fixed it Sep 14 05:00:16 my scrollback in qicr is only set to 500 lines Sep 14 05:00:23 ah Sep 14 05:00:28 i didn't fix it Sep 14 05:00:32 not yet anyway Sep 14 05:00:42 and if it's only leaking a single instance, and it's that Samsung bug, fuck it Sep 14 05:02:00 XXCoder, What were you failing at again? :P Sep 14 05:02:04 whats pfn working on this weekend Sep 14 05:02:29 figuring a nice fast way to paint to alpha in such way if I paint 2 circles that overlap Sep 14 05:02:33 the middle is darker Sep 14 05:03:17 XXCoder, Why aren't you just using OGL? Sep 14 05:03:50 Using a texture with alpha transparency on them is /stupidly/ easy Sep 14 05:04:00 well normal yes Sep 14 05:04:06 what I'm doing is very abnormal Sep 14 05:04:18 I need dynimally changing alpha Sep 14 05:04:29 drawn by circles and such Sep 14 05:04:41 not only that but overlaps shoudl add effect not be same Sep 14 05:04:55 You can do that with OpenGL blend modes Sep 14 05:05:38 reading Sep 14 05:06:11 XXCoder, or if that fails, shaders would do very nicely :) Sep 14 05:08:40 whats shader do? havent found good explain site Sep 14 05:08:48 g00s, nothing in particular, maybe some small qicr bugfixes Sep 14 05:08:54 ;) Sep 14 05:09:10 if it allows me to paint alpha like I can with red, green and blue channels its what I want Sep 14 05:09:20 g00s, you? Sep 14 05:10:25 pfn i'm rewriting my app from scratch. based on what i've learned since froyo, which might not turn out to be that much :P let me ask you this. imagine a layout / screen with arbitrary tiles like this (from GridLayout docs) http://4.bp.blogspot.com/-nQwSciBv9fw/TrxWZ_T6YRI/AAAAAAAAA5w/mZW4egdPJv4/s1600/milne-3.png Sep 14 05:10:45 how would you go about allowing the user to move them around ? Sep 14 05:10:52 (and have them reflow) Sep 14 05:11:17 size is pretty easy, i can have them long press to cycle 1x1 , 2x2, and 3x1 like WP Sep 14 05:11:29 not sure how to do the dragging around though Sep 14 05:11:34 Hi everyone :) Sep 14 05:11:51 just one question Sep 14 05:11:52 it would have to be in some mode, because i need the touch gestures for panning graph axis Sep 14 05:12:11 TheNightTrain: use it wisely Sep 14 05:12:22 I am trying to send one string in UTF-8 by a socket connection to a server in c# Sep 14 05:12:26 g00s, viewdraghelper Sep 14 05:12:31 :O Sep 14 05:12:33 * g00s looks Sep 14 05:12:39 g00s, in support - v4 Sep 14 05:12:46 JesusFreke jaja I will try Sep 14 05:12:49 well Sep 14 05:12:51 the point is Sep 14 05:12:56 Any idea why I might be getting this java.lang.NullPointerException in android.graphics.drawable.AnimatedRotateDrawable$AnimatedRotateState.canConstantState http://pastebin.com/Wa0Fwx4a (Google Play Stack Trace) ? Sep 14 05:13:02 Napalm posted a link to a good article about it on g+ Sep 14 05:13:07 pfn holy shit, i missed that! thanks for pointing it out! Sep 14 05:13:13 Napalm still here ? Sep 14 05:13:47 * g00s will find Napalm eventually Sep 14 05:14:15 if I write the client in java se it works fine with my server, however when I write the same code for the android client, it doesn't send the UTF-8 encoded string properly. However, this client receives the utf-8 strings from the server fine Sep 14 05:14:28 XXCoder: A BitmapShader should work for what you are doing, however you need to think about the problem the other way. Rather than draw your image and try to adjust the alpha, start with a blank fully transparent area, and then draw your image, with the appropriate shape, at a set alpha Sep 14 05:14:34 TheNightTrain ).o Sep 14 05:14:40 TheNightTrain that should work Sep 14 05:14:51 g00s, I thought the same Sep 14 05:15:16 it isn't the first time I find a platform issue by the way. Try with String.regionMatches :) Sep 14 05:15:31 kevinb I did it that way before, overlaps looked.. ugly Sep 14 05:15:33 if they didn't fix it, that basic method fails :( Sep 14 05:16:05 drawing texture at alpha less than 20 with lots overlaps does not look like 100% solid Sep 14 05:16:29 thats why I'm trying other way, make mask then apply to texture Sep 14 05:17:15 People are too afraid of OpenGL :< Sep 14 05:17:15 pfn i'm also going to see if i can set up a CoreOS / Docker image of mosquitto mqtt broker , for fun. maybe play around with Blender 3d Sep 14 05:17:19 https://dl.dropboxusercontent.com/u/53432577/device-2013-09-10-181442.png Sep 14 05:17:58 Sonicadvance1 maybe not because of OpenGL itself, but weird inconsistencies between GPUs that require you to have enough phones to test on Sep 14 05:18:28 from what i've heard at least :( Sep 14 05:18:30 Well, if you've got a tegra and an adreno to test on, then you are usually good to go Sep 14 05:18:33 * g00s knows nothing about opengl Sep 14 05:18:33 basically, one test I made was removing the utf-8 encoding in my java desktop client and I get exactly the same result as when I use the utf-8 encoding in the android one. My conclusion is the utf-8 enconding somehow it is not working at all when I write Sep 14 05:18:39 Do you guys know of any good Android dev or Android marketing blogs? Sep 14 05:18:50 sounds maybe fun :p Sep 14 05:18:55 * pfn & Sep 14 05:19:08 pfn also monsoon season is ending, i'll try to get out and get some pictures Sep 14 05:19:17 well, what they call monsoon in AZ ;) Sep 14 05:22:13 appamatto: yep Sep 14 05:22:44 appamatto: http://android-developers.blogspot.com/ Sep 14 05:22:57 hmm http://gamedev.stackexchange.com/questions/57090/non-additive-alpha-blending-in-opengl-es-2-0-android-andengine this personb wants opposite pf me Sep 14 05:23:27 XXCoder, additive alpha blending is so easy in OpenGL is why there isn't a post about it :P Sep 14 05:23:56 guess so Sep 14 05:24:46 I'd be golden if there was very fast way to copy any color channel to alpha Sep 14 05:24:51 say red to alpha Sep 14 05:25:41 XXCoder, Use a shader Sep 14 05:25:53 is there a good shader example? Sep 14 05:26:23 it's as easy as ocol = Texture2D(tex, dim).agbr; Sep 14 05:27:03 Shaders is basic OpenGL ES 2 programming Sep 14 05:28:56 pfn ok found it, adam powell pointed to http://flavienlaurent.com/blog/2013/08/28/each-navigation-drawer-hides-a-viewdraghelper/ Sep 14 05:29:07 Swizzling: fun stuff. Sep 14 05:30:24 dont think I have opengl Sep 14 05:31:02 what Sep 14 05:31:13 I.. what? Sep 14 05:33:00 Any idea why I might be getting this android.os.TransactionTooLargeException in android.os.BinderProxy.transact:http://pastebin.com/6VLh1XVL (Google Play Stack Trace) ? Sep 14 05:35:26 gavilan2 i think romainguy might be one of the few who can tell you that; otherwise try posting on google-groups Sep 14 05:36:19 g00s: yup Sep 14 05:36:26 im here Sep 14 05:36:40 hey Napalm , no worries, found the link :) Sep 14 05:36:42 thanks Sep 14 05:36:44 :'( Sep 14 05:37:04 https://plus.google.com/+AdamWPowell/posts/47CoRkNxN9u Sep 14 05:37:12 http://stackoverflow.com/questions/4354939/understanding-the-use-of-colormatrix-and-colormatrixcolorfilter-to-modify-a-draw hmm Sep 14 05:52:52 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 06:12:56 Any idea why I might be getting this java.lang.NullPointerException in android.graphics.drawable.AnimatedRotateDrawable$AnimatedRotateState.canConstantState http://pastebin.com/Wa0Fwx4a (Google Play Stack Trace) ? Sep 14 06:18:51 gavilan2: 20 minute timer. nice :) Sep 14 06:33:00 Any idea why I might be getting this android.os.TransactionTooLargeException in android.os.BinderProxy.transact:http://pastebin.com/6VLh1XVL (Google Play Stack Trace) ? Sep 14 06:33:35 JesusFreke: It's actually a 60 minutes timer, but I have 3 crashes :p Sep 14 06:35:04 Napalm posted a link to a good article about it on g+ ---> I've already read it, and I'm not doing any of the things that the article mentions... unless you count the global limit for file handlers... Sep 14 06:35:40 g00s: Thanks! I'll ask romainguy Sep 14 06:36:22 is there a good reason to call gridview.setAdapter(null) in onDestroy? Sep 14 06:37:57 no Sep 14 06:38:12 well if i don't, my GridView leaks Sep 14 06:38:18 leaks my activity that is Sep 14 06:41:34 That'd only happen if you keep your adapter around for some reason Sep 14 06:52:52 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 06:53:24 copy and paste is such fucking dangerous thing to do Sep 14 06:53:31 hours just because of messed up copy paste Sep 14 06:56:26 haha Sep 14 07:08:57 XXCoder: That's the reason why you should avoid duplicated code :) Sep 14 07:09:28 heh yeah. I needed other picture so I just copy and pasted and edited to suit. I missed one variable Sep 14 07:09:39 if i'm going to use AlertDialog - do i need to do the whole showDialog() onPrepareDialog() thing ? Sep 14 07:12:56 Any idea why I might be getting this java.lang.NullPointerException in android.graphics.drawable.AnimatedRotateDrawable$AnimatedRotateState.canConstantState http://pastebin.com/Wa0Fwx4a (Google Play Stack Trace) ? Sep 14 07:13:40 why does everyone do: " (Google Play Stack Trace) " ? Sep 14 07:13:52 jedir0x: it's not everyone Sep 14 07:14:08 why do some people do it Sep 14 07:14:09 he's been asking teh same 3 questions every 20 minutes for.. a while :) Sep 14 07:14:18 ha Sep 14 07:14:22 You can probably blame me for that Sep 14 07:14:37 Don't ask the same question every 20 minutes when there's so little activity Sep 14 07:14:59 I had asked him yesterday whether it was from his own device, or from a crash reported on the play store consone Sep 14 07:15:46 i see Sep 14 07:15:48 i'm going to bed Sep 14 07:16:00 sweet dreams Sep 14 07:16:02 before my retinas burn Sep 14 07:16:05 nighty night Sep 14 07:16:08 shuggums Sep 14 07:16:20 so are you like really down for mexicans? Sep 14 07:16:28 or are you super religious? Sep 14 07:16:41 well, I used to be Sep 14 07:16:44 and the name stuck :) Sep 14 07:16:51 super religious? Sep 14 07:16:57 not *super*, but yeah. Sep 14 07:17:00 lost your religion? FAITH no more? Sep 14 07:17:04 JesusFreke: I told you it's every 60 minutes!!!! Sep 14 07:17:18 gavilan2: you send a message every 20 minutes Sep 14 07:17:23 i lost my faith ~10 years ago Sep 14 07:17:30 best thing that ever happened to me. Sep 14 07:17:42 JesusFreke: Yes! I have 3 questions, I send each one every 60 minutes, so it's a question every 20 minutes Sep 14 07:17:42 ok - i'm heading to bed. Sep 14 07:17:59 JesusFreke: Nobody seems to be able to help me :( And I know that people connect in weird timezones... Sep 14 07:18:03 So I just left the timer on xD Sep 14 07:21:45 gavilan2 may as well try back next week 9-5 PST :) Sep 14 07:22:08 we now go into 'weekend' mode ;) Sep 14 07:22:24 which is mostly just lots of quit / join messages :D Sep 14 07:22:37 :( Sep 14 07:27:12 hi al Sep 14 07:27:14 all* Sep 14 07:27:36 is there a good alternative for web workers in stock android browser or am I sol? Sep 14 07:31:03 bhldev there's a reason why Stock Android Browser (SOB) is one letter away from SOL Sep 14 07:31:23 oh, late Sep 14 07:31:25 ha Sep 14 07:31:29 SAB , lamesauce Sep 14 07:31:38 * g00s hangs head in shame Sep 14 07:31:43 haha. I didn't even catch the mistake Sep 14 07:31:59 until you pointed it out :p Sep 14 07:32:05 lol Sep 14 07:33:00 Any idea why I might be getting this android.os.TransactionTooLargeException in android.os.BinderProxy.transact:http://pastebin.com/6VLh1XVL (Google Play Stack Trace) ? Sep 14 07:33:10 lol Sep 14 07:33:32 ok, i'm going to put you on ignore , because you keep making it look like there is legit traffic here when there isn't :D Sep 14 07:33:47 :) Sep 14 07:34:51 anyone know how crashlytics makes money? they seem to give everything away for free Sep 14 07:35:04 thats nice of them and all ... Sep 14 07:35:12 apparently twitter bought them Sep 14 07:35:25 and no one knows how they make money either Sep 14 07:35:25 :O Sep 14 07:35:30 oh shit man Sep 14 07:35:52 so thats why they filed for IPO, huh Sep 14 07:37:56 kevinb would that influence your decision to use that service ? Sep 14 07:38:03 Easy Sep 14 07:38:04 they sell you Sep 14 07:38:25 my crash reports are worth that much ? Sep 14 07:38:41 i don't know. if it was google then it wouldn't as i'm somewhat familiar and comfortable with how google manages data Sep 14 07:38:42 03:35 kevinb: apparently twitter bought them Sep 14 07:38:42 03:35 kevinb: and no one knows how they make money either Sep 14 07:39:21 i'm not even sure what the MO is Sep 14 07:39:32 why would twitter care about this Sep 14 07:39:47 yeah, i wonder if it was like twitter was using them and said this is great and they needed money so twitter just bought them Sep 14 07:40:14 but then it'd seem they are just continuing to host other parties to be nice, which is unlikely to be sustainable Sep 14 07:40:15 That seems often to be more the case than not Sep 14 07:41:00 Facebook sometimes buys startups for the people, I'd assume it would be something similar Sep 14 07:41:14 but maybe they justify it by saying that the product is better for twitter, if it's built for everyone Sep 14 07:41:30 acqui-hires usually shut down the product though, or make it private Sep 14 07:42:31 hopefull google just replaces android browser with chome completely one da Sep 14 07:42:47 oh, Twitter acquired them in January, wow Sep 14 07:52:52 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 08:21:41 hm, a lot of the android apps still use this AsyncQueryService Sep 14 08:21:47 (aosp apps) Sep 14 08:23:16 weird they all have copies of it; as its not good enough to be in the framework, but useful enough ... Sep 14 08:29:23 hey guys Sep 14 08:29:42 gah , scorpion just dropped off the ceiling on to my desk Sep 14 08:29:52 how do I do a custom indeterminate ProgressBar that deals with scaling an image back and forth? Sep 14 08:29:52 g00s, fry it and eat it Sep 14 08:32:28 g00s: scorpion.. jezzz.. where do you live? Sep 14 08:32:34 az Sep 14 08:32:47 az? Sep 14 08:32:48 scorpion, sub-zero, johnny cage Sep 14 08:32:52 thing just fell on to my desk :| Sep 14 08:33:04 Napalm arizona Sep 14 08:33:09 ah Sep 14 08:33:10 :| Sep 14 08:33:13 not going there now Sep 14 08:33:15 :) Sep 14 08:33:17 land of crazy people Sep 14 08:33:36 sounds like you need to be crazy to live there with scorpions on the ceiling Sep 14 08:33:43 :) Sep 14 08:33:55 meetoman: not the way you are doing it Sep 14 08:33:56 :D Sep 14 08:34:05 i think this may have come through the light fixture in the ceiling Sep 14 08:34:24 Napalm lol, stuck on another problem that I can't seem to figure out =| Sep 14 08:34:34 meetoman: what are you trying to do? get a pulsating image for loading? Sep 14 08:34:50 yup Sep 14 08:35:15 https://gist.github.com/Nyceane/b77a6da9038ccdebbcd2 Sep 14 08:35:19 and this is obviously not working Sep 14 08:35:34 indeed Sep 14 08:35:35 animate-rotate works, animation-list works Sep 14 08:35:43 there is no animate-scale Sep 14 08:35:57 which is rather odd because there is animated-rotate Sep 14 08:36:48 one of the biggest problems in android is the lack of custom inflatable drawables Sep 14 08:37:00 you can make custom views/preferences.. but not drawables Sep 14 08:37:01 :( Sep 14 08:37:11 not inflatable from xml Sep 14 08:37:26 well, I can do it without xml Sep 14 08:37:33 just a lot o fprocess and not efficient Sep 14 08:37:39 huh? Sep 14 08:37:41 you sure Sep 14 08:37:43 lol Sep 14 08:37:48 yah, put a timer Sep 14 08:37:51 :| Sep 14 08:37:53 thats wrong Sep 14 08:38:08 scheduleDrawable Sep 14 08:38:09 :P Sep 14 08:38:24 I'm thinking about contracting Hot Shots hand warmers company about writing an app for them to warm up your hands in the cold by overclocking your device ;) Sep 14 08:38:44 what is that? Sep 14 08:39:10 meetoman: wait cant you do a transition drawable with the animation applied to it? Sep 14 08:39:14 shmooooz, Why overclock your device when you can just run Dolphin Mobile? Sep 14 08:39:27 meetoman: yea you can Sep 14 08:39:38 well, trying to apply straight from xml so I dont have to touch the code, easier for maintaince Sep 14 08:39:48 and just for knowing how to do it Sep 14 08:39:50 http://www.sunandsnow.ca/pg10hand.html Sep 14 08:40:06 meetoman: im talking about straight from xml Sep 14 08:40:16 oh, transition drawable? Sep 14 08:41:30 let me read a little more about it Sep 14 08:42:08 meetoman: nope its not that, one moment, i'll find the one im thinking of Sep 14 08:43:09 thanks Sep 14 08:43:20 but I have to figure out how to overclock for devices that are not rooted Sep 14 08:48:30 think i m gona hard code it... Sep 14 08:49:16 meetoman: just checked the source of ProgressBar and AnimatedRotateDrawable Sep 14 08:49:22 you can only do it in code Sep 14 08:49:29 want some to do it? Sep 14 08:50:11 yah, I can do rotate without a problem Sep 14 08:50:22 animated-rotate pretty much fixes everything I need, I can even do double rotate Sep 14 08:50:27 it's just the scaling I can't do Sep 14 08:50:31 no Sep 14 08:50:35 im not talking about rotation Sep 14 08:50:40 i was looking to see how they function Sep 14 08:51:05 well, there is http://developer.android.com/reference/android/graphics/drawable/ScaleDrawable.html Sep 14 08:51:45 and Sep 14 08:52:00 i found the code for AnimatedRotateDrawable Sep 14 08:52:22 congrats Sep 14 08:52:23 :| Sep 14 08:52:34 lol, now i m reading how it works too ;) Sep 14 08:53:23 luckily, only 357 lines of code ;) Sep 14 08:53:38 no comments whats so ever, unlike all the other android code Sep 14 08:53:45 seems like someone else have writtent his Sep 14 08:53:54 meetoman: are you serious? Sep 14 08:54:09 meetoman: the comments were added after Sep 14 08:54:15 and most of the code is still not commented Sep 14 08:54:54 https://github.com/android/platform_frameworks_base/blob/master/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java Sep 14 08:54:56 is this the one? Sep 14 08:55:09 yup Sep 14 08:55:28 let me see if i can modify it Sep 14 08:56:48 it looks like thats the old version for 2.3 Sep 14 08:57:26 yea, they now use RotationDrawable Sep 14 08:57:45 let me put something together Sep 14 08:57:51 errr -_- Sep 14 08:57:51 let me just hard code it and come back in the future to fix it lol Sep 14 08:57:57 the easy way out Sep 14 09:00:38 hard code version is done -_- Sep 14 09:00:43 lol? making life simple Sep 14 09:02:42 hard code? Sep 14 09:10:00 use a timer on the page Sep 14 09:10:07 a custom control using a timer Sep 14 09:10:14 nooo Sep 14 09:10:19 so it's not a progressbar Sep 14 09:10:33 Drawables are your friends :) Sep 14 09:10:41 lol Sep 14 09:11:21 I got bunch of other stuff I need to fix tho =| Sep 14 09:12:23 If I have categories and products, should I store them in two different sqlite tables? Sep 14 09:12:42 meetoman: im writing a PulsingDrawable now Sep 14 09:14:59 you know, I really should pay you if you bill me :) Sep 14 09:15:05 it works Sep 14 09:15:08 its ALIVE!!! Sep 14 09:15:26 holy cow, that was fast? Sep 14 09:24:34 meetoman: ok yes, but its not finished.. needs some refinement Sep 14 09:26:34 wow, you are good :) Sep 14 09:26:59 at the moment the bounds are not changing with the scale, which is kinda jarring Sep 14 09:27:12 so you can always scale inside the bounds but not outside Sep 14 09:27:13 :( Sep 14 09:29:15 :( Sep 14 09:31:51 How should I structure a database for a shopping list that has items, categories, and multiple lists? Sep 14 09:34:29 zyngawow: with great care and attention, in other words you shouldnt be asking Sep 14 09:34:32 :D Sep 14 09:35:05 zyngawow: short answer.. 3 tables, lists, categories, items Sep 14 09:35:48 Napalm, the thing is I don't know how to structure the lists table Sep 14 09:36:01 what do you mean? Sep 14 09:36:11 what information do you want to store? Sep 14 09:36:25 id | date_created | title Sep 14 09:36:42 categories > id | list_id | name Sep 14 09:36:58 items > id | category_id | name | details Sep 14 09:37:00 tada Sep 14 09:37:02 magic Sep 14 09:38:52 brb, its coffee time Sep 14 09:43:29 lol Sep 14 09:43:44 zyngawow, are you doing sqllite? Sep 14 09:43:50 meetoman, yes Sep 14 09:44:15 do you need the code to set up the table? or do you need general structure of the table Sep 14 09:44:20 Napalm, but then lists don't know what items they have in them Sep 14 09:44:23 meetoman, structure Sep 14 09:45:38 do you know the exact information you need to store for items, catgories and multiple-lists? Sep 14 09:46:18 item, itemId, categoryId, name, price, etc Sep 14 09:46:31 category, categoryId, categoryName Sep 14 09:46:36 meetoman, yeah, for categories, the name, for products, name and category, lists, I don't know how to do them Sep 14 09:46:43 multiple list-> listId, itemId Sep 14 09:47:12 And for example have multiple rows for listID 1 with all items in it= Sep 14 09:47:19 hello Sep 14 09:47:21 well, each information is stored in a column Sep 14 09:47:50 well, you can do 2 tables for List, ListId, ListName Sep 14 09:47:54 I am wondering if I could create a simple widget to connect to a website or ping it in background? Sep 14 09:48:03 second table, ListId, ItemId Sep 14 09:48:20 Basically the sever contains php code that will run when the page is connected to Sep 14 09:48:28 this way you can do a select the first table joining second, taking all the items and their listid Sep 14 09:48:42 So I would rather a widget to do this than launching the brows Sep 14 09:48:44 er Sep 14 09:48:45 Alright, I think I get it Sep 14 09:49:06 hope that helps :) Sep 14 09:49:32 any ideas? Sep 14 09:51:46 what do you mean? Sep 14 09:51:55 widget means android widget? or a control inside your appp Sep 14 09:52:29 Haxxa? Sep 14 09:52:42 sorry back Sep 14 09:52:46 android widget Sep 14 09:52:52 like on homesceen Sep 14 09:53:07 so connect to url in background then close Sep 14 09:53:22 you want the widget to close itself? Sep 14 09:53:47 you can do an async run through AsyncTask Sep 14 09:53:47 hi..i have a galaxy tab 2.0, and i dont get it..when I remove an app by dragging it to the trashbin, it doesnt delete...it just stays there Sep 14 09:53:57 something wrong with my tablet? Sep 14 09:54:35 Assault: nothing is wrong with your tablet Sep 14 09:54:40 Hangon brb Sep 14 09:54:56 vedu: then somethign wrong with how android has been designed? =) Sep 14 09:55:05 Assault: that trashbin is only to remove the icon Sep 14 09:55:12 Assault: -_- hardly Sep 14 09:55:20 so how do i delete apps Sep 14 09:55:25 Assault, #android Sep 14 09:55:34 already asked there, no answer Sep 14 09:55:37 settings, applications, select some app, remove Sep 14 09:55:46 Assault: yes Sep 14 09:56:14 This channel is for app dev. If noone answers in #android, try again later Sep 14 09:56:26 whats the remove icon for then? Sep 14 09:57:24 Assault: I already answered your question. And please ask such "user" questions in the #android channel Sep 14 09:57:51 ah, i misread your answer =P Sep 14 09:58:08 thx Sep 14 10:02:38 Napalm, any luck? ;) Sep 14 10:09:52 meetoman: hang on, just got back with my coffee and breakfast :P Sep 14 10:20:36 alright :) Sep 14 10:54:21 Napalm, any luck? ;) Sep 14 10:54:36 my static version works ;) Sep 14 11:51:27 hello. I have a question about java. I am on my way to build android for my device. It passed all requirements and it stops on java version. I had openjdk 7 but it seems that I need jre6. So I installed jre6 but now it says build/core/config.mk:345: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Schluss. Sep 14 11:51:39 what version to download? Sep 14 11:51:51 I am using Arch Linux. Thanks in advance. Sep 14 11:52:13 and I installed jdk6 as well Sep 14 12:02:49 hi. there are some GUI libraries that has with the spinner an edittext combined. is there a readily made one in android? Sep 14 12:04:19 Slamd64, have you downloaded the JDK from oracle's? Sep 14 12:04:40 hi, i draw multiply seekbars into an activity and would like the user to choose the colors of these(i think i would like to change the secondaryProgess drawables color) dynamically(via settings/preferences).. is this possible and if yes how? Sep 14 12:09:33 superlinux-hp: yes, arch does have AUR repo with PKGBUILD scripts which downloads the source from repo and installs automatically Sep 14 12:09:57 Slamd64, i use wheezy debian Sep 14 12:10:40 easier, and i just start my work. Sep 14 12:10:51 ok, here is the package jdk6 6u45_b06-2 Sep 14 12:11:01 yes ! install that. Sep 14 12:20:38 Slamd64, it's done? Sep 14 12:21:50 almost. I found another info about java paths: http://stackoverflow.com/questions/17988110/building-android-source-jdk-not-found Sep 14 12:27:52 yes it works now ;) Sep 14 13:16:40 yo Sep 14 13:19:02 hell Sep 14 13:19:06 hello Sep 14 13:19:09 sorry Sep 14 13:19:14 typo Sep 14 13:19:24 I have a problem Sep 14 13:19:59 everyone got problems bro Sep 14 13:20:35 do you have a question? Sep 14 13:20:44 I have a backend written in VB. and I want to send some plain text there and recieve a reply. NO HTTP! Sep 14 13:22:19 hi. i am about to start developing android apps on an nexus s from my imac with mountain lion installed. i connected the nexus s with the shipped usb cable. its charging but not recognized by adb. any suggestions? is android not compatible with osx? Sep 14 13:22:40 Android is absolutely compatible. Sep 14 13:22:41 http://pastebin.com/vQUJYGTU Sep 14 13:22:49 Did you put your device in debugging mode? Sep 14 13:22:57 yes i tried both Sep 14 13:23:28 Both what Sep 14 13:23:28 I have this now: http://pastebin.com/vQUJYGTU Sep 14 13:23:29 http://i.imgur.com/RkSu1Uy.jpg :) Sep 14 13:23:48 i tried reconnecting it multiple times with and without usb debugging enabled Sep 14 13:23:59 Which version of Android? Sep 14 13:24:22 it even doenst show up in the system profiler under usb devices. i also tired different ports. Sep 14 13:24:27 4.1.1 Sep 14 13:24:35 tired 4.0.4 before Sep 14 13:25:09 So you now have Debugging enabled and have the latest version of the SDK Tools. Sep 14 13:26:52 i think so. i installed all of it yesterday. im using qtcreator and necessitas Sep 14 13:27:22 i can use the simulator Sep 14 13:27:48 but not deploy on the device, since its not recognized by the system i think Sep 14 13:28:50 I have not worked with either of those. Sep 14 13:29:02 Have you tried using the official bundles? Sep 14 13:29:19 But since you are able to use the emulator, hmm... Sep 14 13:29:59 yes, compiling works, its the usb connection.. i assume that mountain lion ist not compatible. but there arent drivers for it either Sep 14 13:30:16 I am on Mountain Lion Sep 14 13:30:22 Like many others in here. Sep 14 13:30:26 oh ok Sep 14 13:30:40 Usually it works out of the box. Sep 14 13:31:02 do you see a device in system profiler? Sep 14 13:31:53 Yes, Nexus 4 Sep 14 13:32:15 does anyone know if Android will ever officially work with Java 7 or 8 ? Sep 14 13:32:15 can you run a command on terminal to list usb devices? Sep 14 13:32:28 or is that a dead end since all the lawsuits started flying? Sep 14 13:32:46 though if your system can detect the usb device, adb should too imo Sep 14 13:32:56 occ: ill try Sep 14 13:33:38 it lists the same devices as profiler Sep 14 13:34:06 belgianguy: There's been no official statement AFAIK Sep 14 13:34:16 ill try bootcamp next i think Sep 14 13:34:39 im showing text in an EditText field. But it shows it as "helo wor..." is there some way to show full text as multiline? tried setting lines:3 maxLines: 3 , but continues breaking the text.. Sep 14 13:39:31 tomasso: android:inputType="textMultiline" Sep 14 13:40:30 can you help me? im looking for a good tutorial Sep 14 13:40:36 Jackneill: yes. Sep 14 13:41:15 funkbox, thanks, i guess i will just fuckin google until i find a good one Sep 14 13:41:22 attaboy Sep 14 13:41:53 I have a backend written in VB. and I want to send some plain text there and recieve a reply. NO HTTP! Sep 14 13:41:56 I have this now: http://pastebin.com/vQUJYGTU Sep 14 13:42:11 But, it freezes Sep 14 13:43:12 MDTech-us_MAN: you should handle bidirectional communication with something like select, or two threads, one which reads and another which writes Sep 14 13:44:00 MDTech-us_MAN: or design a protocol that is strictly request-response, with something like request being a string followed by newline, flushed, and then it expects one line of reply, or make it two-phase like http where you write request, close the write direction and then read response until server closes read direction Sep 14 13:45:20 as to the bufferedreader, I'm unable to say how to use it correctly, I'm afraid. I'd recommend avoiding buffered systems and rather recommend implementing the line protocol manually. Sep 14 13:46:06 that is, you perform a read, if the read has a newline, you have enough of a buffer to process it, otherwise you go back. A bufferedreader may carelessly try to read too much if it has a large internal buffer it likes to fill first before starting a newlines scan Sep 14 13:48:32 I think that BufferedReader is probably OK to use, though I can't be 100% certain if that is actually the case. Sep 14 13:50:35 but anyway if you have a request-response protocol in mind, you can just do getOutputStream().write(someBytes); getOutputStream().close(); and then read the entire response from the inputStream. Sep 14 13:50:58 the server component reads from socket until socket has no more data, and then processes and writes resopnse and closes the socket Sep 14 13:57:37 can use a separete connection for the reply? Sep 14 13:57:48 No Sep 14 13:58:10 or it doesn't make sense to do so. Sockets are bidirectional you know Sep 14 13:59:15 The problem is that the server doesn't get anything before the connection is CLOSED Sep 14 13:59:32 There may be buffering. Try flushing the outputstream. Sep 14 13:59:33 even though I use .flush Sep 14 14:00:25 or on the server side, you're trying to read with some line-reading call as well. Since your write doesn't have a newline, it might wait until there is Sep 14 14:01:07 This is what I have now:http://pastebin.com/XREtWpJm Sep 14 14:02:00 okay... well what if you move the 'out.close()' up where the 'out.flush()' is? Sep 14 14:02:12 one sec Sep 14 14:02:18 let me try Sep 14 14:02:19 closing implies flushing, too, so it's unnecessary. Sep 14 14:03:30 I get Socket closed Sep 14 14:04:04 from where? Sep 14 14:04:26 client Sep 14 14:04:35 on what line? Sep 14 14:04:50 let me step through Sep 14 14:04:57 I see you are not debugging properly Sep 14 14:05:17 try to generate complete java stack traces, don't hide this kind of information Sep 14 14:05:37 maybe define a MsgBox("some message describing operation", exception); Sep 14 14:05:58 I did Sep 14 14:06:14 MsgBox(content,title) Sep 14 14:06:15 and then print the stack trace of the exception with somethingl ike this: StringWriter sw = new StringWriter(); exception.printStackTrace(new PrintWriter(sw)); nowDisplaySomehow(sw.toString()) Sep 14 14:06:31 one sec Sep 14 14:06:39 I am debugging now. Sep 14 14:06:58 ok Sep 14 14:07:05 vb got the conection Sep 14 14:07:36 ran .write Sep 14 14:07:41 nothing on vb Sep 14 14:07:54 .flush Sep 14 14:08:00 still nothing Sep 14 14:08:56 .close Sep 14 14:09:04 vb got request Sep 14 14:09:11 vb sent reply Sep 14 14:09:16 okay this seems to be in line of expectations at least Sep 14 14:09:50 The inputStream should still be OK even when the outputStream is closed. So reading from it now ought to give the reply. Sep 14 14:10:00 .readLine gives socket closed Sep 14 14:10:16 error Sep 14 14:10:41 and thats it Sep 14 14:10:43 Hmm. I do not see why that would be. This is the common way request-response protocols are done. Sep 14 14:11:19 try to get rid of bufferedreader and everything else, just execute a direct single read on the inputStream() Sep 14 14:11:33 FYI: VB closes the conection as soon as it sends the reply Sep 14 14:11:37 you need a byte[] to fill data in to, and some way to print it Sep 14 14:11:41 Yes, that is to be expected Sep 14 14:11:45 ok Sep 14 14:11:59 but there is stuff in the socket pipeline waiting to be delivered: whatever VB wrote & the fact socket is closed Sep 14 14:12:18 ok Sep 14 14:12:21 anyway you could try reading data somehow like this: Sep 14 14:12:35 getting rid of buffered reader Sep 14 14:12:49 byte[] buffer = new byte[1024]; int len = socket.getInputStream().read(buffer); String data = new String(buffer, 0, len); Sep 14 14:13:31 whatever read() was able to read is now converted to a String using the system default encoding. Sep 14 14:13:58 you might want to print the length of bytes read too somewhere, or examine the size Sep 14 14:14:58 ok Sep 14 14:15:12 now if len is -1, that means there was no data to be read -- the value -1 signals EOF Sep 14 14:15:42 the value of 0 should be impossible in this case. Sep 14 14:17:14 ok Sep 14 14:17:22 started debbugging Sep 14 14:17:41 just go through it quickly and give me value of len and whatever data turned out to be... Sep 14 14:18:00 ok Sep 14 14:20:34 got socket is closed again Sep 14 14:20:47 Hmm... where? The read()? Sep 14 14:20:56 yess Sep 14 14:21:00 code: http://pastebin.com/9QYuNct7 Sep 14 14:21:09 that doesn't jive. It's supposed to return -1 when it reads EOF. Sep 14 14:21:58 looks link it doesn't even read EOF Sep 14 14:21:59 let's try another call instead of close Sep 14 14:22:11 ok Sep 14 14:22:16 do this: socket.shutdownOutput(); Sep 14 14:22:23 ok Sep 14 14:22:37 I *assumed* socket.getOutputStream().close() means the same as shutdown output, but MAYBE it closes both input and output directions. Sep 14 14:23:07 you don't have to step through this time to validate what happens Sep 14 14:23:17 ok Sep 14 14:23:28 installing the apk Sep 14 14:25:59 Looks like this was the problem Sep 14 14:26:11 I found the relevant documentation and it says that closing the stream closes the entire socket. Darn. Sep 14 14:26:33 it froze somewhere Sep 14 14:26:54 oh wait Sep 14 14:26:56 oh? I can't see where, the single read ought to succeed if there is any data for it to read Sep 14 14:27:17 I think I know why it froze now Sep 14 14:28:44 I'm really not too thrilled by this java stream API. Maybe it's time I start to seriously look into the channels crap and see if I can escape these piece of shits entirely Sep 14 14:30:04 ok Sep 14 14:30:22 I found the probem there and fixed it Sep 14 14:30:34 now it works perfectly Sep 14 14:30:44 thanks ! Sep 14 14:31:14 cheers! Sep 14 14:31:18 you're welcome Sep 14 14:31:31 you can probably put the bufferedreader stuff back in, the direct access was just a way to check something Sep 14 14:31:41 ok Sep 14 14:31:46 also you need to declare the encoding for your network protocol Sep 14 14:31:56 where Sep 14 14:32:04 like use UTF-8 or something, but use it explicitly. That's why InputStreamReader(inputstream, encoding) exists Sep 14 14:32:12 ok Sep 14 14:32:13 new InputStreamReader(is, enc) that is Sep 14 14:32:24 and similarly when you write data to socket, you can do "foo".getBytes(enc) Sep 14 14:32:41 sorry I am still mewbish Sep 14 14:32:45 define enc like 'protected static final Charset ENC = Charset.forName("UTF-8");' at class level Sep 14 14:32:47 newbish Sep 14 14:33:06 ok Sep 14 14:33:09 I have utility class with various encodings and language locales and XML parsers and shit like that which I need and which is irritating to set up Sep 14 14:33:18 not on Android though Sep 14 14:34:13 and I really don't understand why they prefer Charset.forName() over Charset.UTF8 or something. :-/ maybe it'd take too much memory to support everything, IDK. At least having static access to the mandated charsets would be great imho... Sep 14 14:34:40 just to get away from all the UnsupportedEncodingExceptions associated to passing charset names by strings etc. Sep 14 14:35:42 then use UTF-8 in your VB server side too Sep 14 14:35:53 so that when you get data in, both client and server will agree to the meaning of every character Sep 14 14:35:59 ok Sep 14 14:36:19 I can't help with that though Sep 14 14:38:19 ok Sep 14 14:38:26 I know how to do that Sep 14 14:41:17 MDTech-us_MAN: do you absolutely have to do it this way ? Sep 14 14:41:25 anyone here selling an unused galaxy s4? Sep 14 14:41:40 I know a person Sep 14 14:41:51 yo could u give me a quote Sep 14 14:42:44 screwsss: not the right place to ask Sep 14 14:43:06 can i get someone with a galaxy s4 or htc one to test my game pelase i have abug regarding the adreno 320 but i dont have a device Sep 14 14:43:24 tripknotix: http://developer.samsung.com/remotetestlab/ Sep 14 14:44:30 screwsss: see my PM Sep 14 14:48:18 it says You need to have JavaScript enabled in order to be able to use the system. Once you have, please click Recheck below Sep 14 14:48:22 no matter what browser i use funkbox =( Sep 14 14:50:02 funkbox: thing is... there are heaps of coders and stuff on here that get sent free phones all the time Sep 14 15:02:02 screwsss: how does one become one in these "heaps" Sep 14 15:02:38 there are devs that get sent phones for free to code on Sep 14 15:03:45 I get it, but "heaps"? Sep 14 15:03:55 does it happen that often? Sep 14 15:04:35 not sure how often it happens to be honest but ive already met a 16 year old who has been sent a bunch of phones just cause he does a little bit of cyanogenmod coding Sep 14 15:04:49 straight from the manufacturer, like, here ou go Sep 14 15:05:09 did he contact them asking for them or how did it happen? Sep 14 15:07:57 I guess companies checked CM repo checkin history Sep 14 15:08:04 and thy liked the boy code Sep 14 15:10:41 if you know the right people, go to the right conferences, etc. - there's plenty of kit available out there Sep 14 15:11:31 I've had something like 6 phones and 2 tablets for free over the past few years Sep 14 15:11:39 nice Sep 14 15:11:46 too bad I'm that good a developer Sep 14 15:14:00 Leeds: any of those S4's? lol :P~ Sep 14 15:14:00 I don't think I had to prove that I was a good developer for any of them :) Sep 14 15:14:30 lol too bad I dont know anyone Sep 14 15:14:54 screwsss: nothing from Samsung Sep 14 15:15:14 do u flog them off after ur done with them Leeds ? Sep 14 15:15:35 flog some, keep a couple for spares/testing Sep 14 15:16:22 ever bricked ne Sep 14 15:16:24 by mistake Sep 14 15:16:54 not a real brick - unrecoverable - no Sep 14 15:18:52 i wonder if i could pretend to be a dev... Sep 14 15:21:54 I feel like all the cool and large conferences and events happen in US. Sep 14 15:23:09 its the place to be Sep 14 15:23:37 yeah, but it happens to be a huge issue for me and I assume for a lot of others too. Sep 14 15:23:40 there are plenty of events elsewhere - local and regional ones - but yeah, the US is the center of the tech world, mostly Sep 14 15:29:53 Hmm yay? I'm in usa. :P Sep 14 15:31:35 its a party in the u s a Sep 14 15:32:27 i draw multiply seekbars into an activity and would like the user to choose the colors of these(i think i would like to change the secondaryProgess drawables color) Sep 14 15:32:36 dynamically(via settings/preferences).. is this possible and if yes how? Sep 14 15:33:09 I guess make custom preference object? Sep 14 15:33:25 my first problem is styling these seekbars Sep 14 15:33:43 i am still deciding on how i want to do the storage part Sep 14 15:34:05 3 seekbars for R G B right? Sep 14 15:34:41 jup for the easy use, for advanced users i would like them to be able to choose random base colors Sep 14 15:34:50 colors/purposes Sep 14 15:35:23 could just combine values into one. a << 24 | r << 16 | g << 8 | b Sep 14 15:35:34 ah Sep 14 15:35:42 how do I change the project's API level in android studio? Sep 14 15:35:52 XXCoder: instead of using multiple sliders? Sep 14 15:36:28 no, 3 sliders still, just stores to one argb value Sep 14 15:36:32 bel3atar: modify the manifest file? Sep 14 15:36:37 (or 4 if you want alpha) Sep 14 15:36:43 * sigv wonders how it is different in android studio Sep 14 15:37:22 hmm if you did in different way not rgb but umm hv? you get all colors in single scrollbar Sep 14 15:38:24 SeekBar doesn't offer an attribute to set the color, you have to provide your own drawables Sep 14 15:39:12 You should probably figure out how you're going to make these drawables before you worry about selecting a color Sep 14 15:39:26 yeah custom preference you can add something to draw color in Sep 14 15:39:56 I evenually need to upgrade Windyflowers as flower color section is very awkward. Sep 14 15:41:38 XXCoder: let me explain it a bit more, the app should be used as a tool to control a DMX system, we use a custom input protocol which then translates to DMX(alongside other feaures) at the hardware end, so the standard set would be a slider for 3 channels(RGB), for the default config i could just do 3 drawables in 3 colors and statically assign them, for advanced users i would like them to be able to select a) a custom amount of sliders b) ... Sep 14 15:41:44 ... custom visuals(r,g,b, brigthness, other stuff) Sep 14 15:42:05 ahh understood Sep 14 15:42:33 for visual representation i would like the background bar of a slider to be shown in a color so its visible to what it does if you dont follow normal ordering Sep 14 15:43:14 well from what O gather from simon it dont have anything thats colorable. maybe you can make custom control that is like seekbar Sep 14 15:43:54 If it's just the background it's not an issue. If you want to color the slider, that's a bit harder Sep 14 15:44:31 hi. anyone experienced this strange behaviour?: my galaxy nexus s ist not recognized via usb on an imac (osx 10.8 and windows7 bootcamp), only charging. but the same device is working on a macbook running windows7 Sep 14 15:44:33 i manage to change the color of the slider i.e. the part which shows how much you pulled it but not the background line yet Sep 14 15:45:12 SimonVT: that i know Sep 14 15:45:46 SimonVT: that i found out Sep 14 15:48:18 it seems to be an image right? Sep 14 15:48:24 ok that could be an problem Sep 14 15:48:34 Yes Sep 14 15:48:36 thanks for your information so far :) Sep 14 15:51:26 background is an image? Sep 14 15:52:00 hy all Sep 14 15:52:23 I want to achieve that when I push a button, a string should write into the txt file Sep 14 15:52:24 Bitmap b = new Bitmap(whatever size); Canvas s = new Canvas(b); s.drawColor(color stuff); Sep 14 15:52:50 you dont need to generate objects each time but maybe will work Sep 14 15:53:00 it writes lines into the txt continously, but when I click on the button, it won't write that certain thing into the txt Sep 14 15:53:01 why? Sep 14 15:53:02 Sure, if you want it to be fugly Sep 14 15:54:34 yeah not exactly pretty code Sep 14 16:03:00 XXCoder: i mean the line along which the touchslider goes Sep 14 16:03:24 i solved it now by using setting the background color, looks acceptable enough i think Sep 14 16:03:36 hmm ok Sep 14 16:04:36 Hi, has anyone here worked with the NDK in Eclipse? Sep 14 16:09:15 Step I guess if you wanted the bar colored you probably woul have to make custom control Sep 14 16:09:51 yup Sep 14 16:10:06 i looked a bit through the xml files Sep 14 16:10:47 it seems to be an background image Sep 14 16:10:56 or rather image with just that line Sep 14 16:11:06 which would make it a bit difficult Sep 14 16:15:23 Art_Vandelay_: I did, once, was quite a horrid experience tbh Sep 14 16:17:37 When I push the button, the button text won't wrote into a txt file. Why? Sep 14 16:17:53 I continously push strings into that file Sep 14 16:18:26 and if I push a button, I would like to write a certain string into that file, but it doesn't write... Sep 14 16:29:35 What is the best way to implement class factory in Android? Are any use Spring Factory? Sep 14 16:57:09 Hey all Sep 14 17:13:40 Could it be that XmlPullParser has trouble reading XML files with encoding type iso-8859-1 Sep 14 17:15:16 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 17:16:20 omg Sep 14 17:16:46 gavilan2 do you seriously have this on a timer? Sep 14 17:17:34 I'm having some trouble using the XmlPullParser Sep 14 17:18:02 when I'm using this: Sep 14 17:18:23 that is the first line in the XML file. Could that break the parser? Sep 14 17:19:25 Wuppy21_: shouldn't, it's a common encoding type. Sep 14 17:19:48 Wuppy21_: xml files *ought* to start with the xml prolog, . Sep 14 17:19:54 it does Sep 14 17:19:58 also, the input should be a byte stream in this case Sep 14 17:20:14 g00s xD Sep 14 17:20:14 it does get the START_DOCUMENT, but after that it fails Sep 14 17:20:24 because encoding is only relevant for byte streams. If it's a character stream or string, encoding has already been taken care of. Sep 14 17:21:03 right now it will find the START_DOCUMENT and then it will immidiately go to the END_DOCUMNT Sep 14 17:21:11 even though there is far more in there Sep 14 17:22:17 with the xml file and code on this website it works just fine though http://www.sitepoint.com/learning-to-parse-xml-data-in-your-android-app/ Sep 14 17:22:33 however with changing the code just alittle bit (to use my own names and this xml: http://www.filmtotaal.nl/api/filmsoptv.xml?apikey=rrxvrluh1o05uocazg31hgmvtl007peg&dag=14-09-2013&sorteer=2 Sep 14 17:22:40 it breaks Sep 14 17:23:00 ... why :( Sep 14 17:24:17 No idea, I guess. Sep 14 17:25:04 the xml looks valid too Sep 14 17:27:18 .. wut? Sep 14 17:27:22 now it suddenly works Sep 14 17:30:52 wooow it works :) Sep 14 17:31:03 and I'm dumb :/ Sep 14 17:35:32 Any idea why I might be getting this java.lang.NullPointerException in android.graphics.drawable.AnimatedRotateDrawable$AnimatedRotateState.canConstantState http://pastebin.com/Wa0Fwx4a (Google Play Stack Trace) ? Sep 14 17:40:38 hi all Sep 14 17:41:06 just to say that I have already found the solution for my issue regarding to the UTF-8 encoding Sep 14 17:41:34 mi problem was that I have one server writen in c# and one client in android Sep 14 17:41:57 what is wrong with that Sep 14 17:42:04 with the android studio compilation it was impossible to send strings correctly encoded into UTF-8 Sep 14 17:42:08 IIS not encoding in UTF8? Sep 14 17:42:20 however, using eclipse+adt everything was ok Sep 14 17:42:29 i'm not using iss Sep 14 17:42:37 just a plain c# app Sep 14 17:42:42 using sockets Sep 14 17:43:11 in android studio I even tried to modify the proyect files encoding into UTF-8 Sep 14 17:43:16 but no success Sep 14 17:43:28 however, using eclipse+adt everything works fine Sep 14 17:43:41 I waste one day with this silly issue Sep 14 17:43:46 maybe you should use some shim like socket io java Sep 14 17:51:56 hmm Sep 14 17:51:58 http://pastebin.com/dMxy5SMn Sep 14 17:52:13 that moves red to alpha and discards everything else right? Sep 14 17:57:44 XXCoder: I think so... Assuming the component order is rgba Sep 14 17:58:17 the matrix rows are multiplied horizontally against the transponed color vector, and only a component has terms differing from 0 Sep 14 18:00:47 ok Sep 14 18:03:11 * alankila idly wonders if neon has instructions useful for implementing a 4x4 matrix multiplication with 4-vector Sep 14 18:14:57 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 18:22:57 alankila: it apparently is. I tested by pushing red to different colors Sep 14 18:26:14 is there a ContentProvider for text message and phone calls? Sep 14 18:27:17 it's alllive! I finally got result I wanted Sep 14 18:28:22 anyone know way to do radius gradient? Sep 14 18:34:41 RustyShackleford: What are you trying to do? Sep 14 18:35:00 Any idea why I might be getting this java.lang.NullPointerException in android.graphics.drawable.AnimatedRotateDrawable$AnimatedRotateState.canConstantState http://pastebin.com/Wa0Fwx4a (Google Play Stack Trace) ? Sep 14 18:35:14 kjeldahl, I'm thinking about making an app that combines the dialer, contacts, and sms messages Sep 14 18:36:40 WE DIDNT START THE FIRE Sep 14 18:38:17 I think the answer depends on whether your are trying to send/call or receive. For instance, you can set up a content observer to catch smss (both ways). Sep 14 18:38:49 kjeldahl, I'm using Go Contacts at the moment which does almost what I want Sep 14 18:39:02 however, I'm noticing that it doesn't always detect new messages Sep 14 18:39:20 If you want to send smss you either use the SmsManager directly (typically in your own app), or an intent to fire up the default sms app. Sep 14 18:40:08 SmsManager is deprected in API 4 Sep 14 18:42:49 hello all. how do I set an edit text to respect max width. can't use wrap_content because edittext is empty. I'd like it to be match_parent width up to a max width so it doesn't look stupid on large displays for example. Sep 14 18:46:35 smit, maxEms Sep 14 18:55:04 Any idea why I might be getting this android.os.TransactionTooLargeException in android.os.BinderProxy.transact:http://pastebin.com/6VLh1XVL (Google Play Stack Trace) ? Sep 14 18:55:52 pfn, maxems looked good, but I set two fields ems=10 and they didn't match by a few pixels Sep 14 19:04:00 pfn, looks like my edit text hint is being used for wrap_content calculations Sep 14 19:04:25 because it has to display it Sep 14 19:13:26 anyone know how good intel xdk's graphics acceleration is for canvas? is it at least 2x faster than phonegap? Sep 14 19:14:57 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 19:19:04 gavilan2: Your questions are too low quality and too high volume .. Break that trend please Sep 14 19:26:31 SimonVT: Too low quality? Sep 14 19:30:09 No information Sep 14 19:35:31 How do you add an edittext where when you type you dont see anything Sep 14 19:37:10 RustyShackleford: Was afk. Regarding SmsManager, the new one has the same name, and was the one I referred to (the telephony one, instead of gsm). Sep 14 19:39:31 How do you add an edittext where when you type you dont see anything Sep 14 19:58:03 apache commons-pool is very nice ;) Sep 14 20:32:41 hello Sep 14 20:32:50 is there a good rest framework for android? Sep 14 20:34:24 gson + okhttp Sep 14 20:34:28 sounds like you're done Sep 14 20:34:57 i use gson and works fine Sep 14 20:35:08 okhttp googling it Sep 14 20:35:20 seems interesting Sep 14 20:35:32 I'd recommend Jackson over gson, but other than that, okhttp is good. Sep 14 20:35:54 Fritz7: okhttp is just an http client, not a REST framework Sep 14 20:36:10 rest frameworks are overrated Sep 14 20:36:11 :p Sep 14 20:36:14 at least from a client Sep 14 20:36:21 ^ Sep 14 20:36:40 i know heh Sep 14 20:36:46 hrm, my new app icon's red on blue look isn't so hot... Sep 14 20:36:52 i just a thing from a dude for HTTP connections. Sep 14 20:37:10 Right. Nothing like having to assemble URLs and serialize/deserialize things yourself all throughout your code. Sep 14 20:37:15 and I have a bug that HTTPURLConnection does reverse Sep 14 20:37:19 dns Sep 14 20:37:24 https://lh4.ggpht.com/A4vseXmpxVvH00pQhtKYkf-ltG2lhGGOA0Vdtw5uulNYGu1LmyVpLQYMIXftWM0VhA=h150-rw Sep 14 20:37:34 JakeWharton, yeah, like it isn't pitifully easy to abstract it in under 100 lines of code Sep 14 20:37:49 lets pull in big framework libraries for saving me 5 minutes of work Sep 14 20:38:00 okhttp uses httpurlconnection? Sep 14 20:38:23 Fritz7: For its API Sep 14 20:38:28 JakeWharton a while back you recommended crashlytics; i noticed they were purchased by twitter in Jan - atm they don't seem to have a viable business model (no sellable products - everything is free). do you guys at square think this is a problem? Sep 14 20:38:38 No Sep 14 20:38:49 * pfn snickers Sep 14 20:38:58 Screw crashlytics Sep 14 20:39:00 g00s frets over every little detail, I imagine you must be quite ocd :p Sep 14 20:39:02 Them and their plugins Sep 14 20:39:15 JakeWharton thats re-assuring. i'm sure you guys have a lot of thought into it Sep 14 20:40:02 pfn changing a library is no hassle, but you would lose your metrics too if migrating to something else like crittercism ;) Sep 14 20:40:10 g00s: We really haven't. Nobody cared that they were bought. Sep 14 20:40:26 ok, cool Sep 14 20:40:32 g00s, like metrics are hard to migrate Sep 14 20:40:44 * g00s doesn't want to do it Sep 14 20:41:07 you don't even have metrics right now :p Sep 14 20:41:15 Who is to say crittercism doesn't close up shop tomorrow. Sep 14 20:42:23 That would make it hard to migrate metrics indeed Sep 14 20:42:44 SimonVT sounds like you had a bad experience with their plugin Sep 14 20:43:12 Well, my bad experience was that I had to install it Sep 14 20:43:16 Never got further Sep 14 20:43:19 Used ACRA instead Sep 14 20:47:53 ACRA FTW Sep 14 20:47:58 Crashlytics takes 1 minute to integrate. Four lines in gradle, two lines in code, one line in manifest. Typing this text on my phone has taken longer than integration took Sep 14 20:48:05 ok, i may have figured out my issue with activities leaking. here's my SO question if anyone is interested: http://stackoverflow.com/questions/18806240/is-my-activity-being-leaked-and-is-it-the-actionbar-thats-doing-it Sep 14 20:48:16 Crashalytics is fucking great BTW - i use it. Sep 14 20:48:18 LOVE it. Sep 14 20:48:26 i've used a few other services too, Crashalytics is superior. Sep 14 20:48:40 i use it for android and iOS Sep 14 20:50:01 gavilan2: ^ Sep 14 20:50:02 some great ideas about how to get more info on your crashes ;) Sep 14 20:50:21 cool jedir0x Sep 14 20:50:54 you can integrate logging into it as well Sep 14 20:51:07 so you can not only get crash reports, but whatever-you-want reports. Sep 14 20:51:29 credit cards, email address, you name it!! ;) Sep 14 20:51:33 ie: if you have something odd going on somewhere, you can send a ping to crashalytics with some information Sep 14 20:51:36 haha Sep 14 20:52:08 one burning question i have about my app is how big the sensor data sampling databases are getting; i need to add some analytics Sep 14 20:52:21 without creeping people out Sep 14 20:52:50 well, you could do google analytics for that too Sep 14 20:52:53 super easy, and free Sep 14 20:53:06 JakeWharton: You forgot to factor in installing plugin, registering app, uninstalling plugin, etc Sep 14 20:53:08 send "Events" to GA for the size of the dbs or whatever Sep 14 20:53:16 is there overlap between google analytics and crashlytics, or is the latter - err - crash only Sep 14 20:53:34 SimonVT: what plugin? The gradle plugin? Sep 14 20:53:43 google analytics gathers crash info - i think. but not at the level of Crashalytics. Sep 14 20:53:46 The crashlytics plugin Sep 14 20:54:01 that said. GA is fucking awesome - you can see how users navigate through your app. Sep 14 20:54:09 Yeah that's like two lines in gradle Sep 14 20:54:22 Add their repo, apply plugin Sep 14 20:54:27 jedir0x, it's the samsung mod to android that's doing it Sep 14 20:54:34 and if you integrate events - you can do stuff like "How many people start the app, go to screen x, then dialog y and then press the finish button" Sep 14 20:54:34 JakeWharton: The IDE plugin? Sep 14 20:54:35 jedir0x, and are you leaking more than 1? if not, why care? Sep 14 20:54:43 unless that activity is holding onto a shitton of memory Sep 14 20:54:51 it shouldn't be Sep 14 20:54:57 SimonVT: never seen that. Wasn't needed for our apps Sep 14 20:55:57 Didn't have to register the apps either. New apps automatically show up on first run. Sep 14 20:56:07 jedir0x can i export data out of GA for data visualization? i'd like to see a weighted graph of nodes (fragments) and paths (transitions to other things) Sep 14 20:56:17 JakeWharton: It asks me to select my IDE, install a plugin, log in in said plugin and register an app Sep 14 20:56:20 maybe use graphviz, should be easy if i can get the data Sep 14 20:56:23 Can't get further than that Sep 14 20:56:29 g00s, it does that already - in the UI. Sep 14 20:56:34 oh, cool Sep 14 20:56:42 it'll tell you where people drop off Sep 14 20:56:47 like, close your app or whatever Sep 14 20:56:51 SUPER valuable data Sep 14 20:56:56 yeah Sep 14 20:57:01 Never got further Sep 14 20:57:03 I never had to do any of that. Just popped it in the app and ran it Sep 14 20:57:17 it'll also give you detailed data as to the various devices and their capabilities Sep 14 20:57:30 @Override Sep 14 20:57:30 protected void onStart() { Sep 14 20:57:30 super.onStart(); Sep 14 20:57:30 EasyTracker.getInstance(this).activityStart(this); Sep 14 20:57:30 } Sep 14 20:57:30 jedir0x does it give me data on screen sizes :P Sep 14 20:57:34 that's how you integrate GA Sep 14 20:57:47 (and activityStop() in onStop()) - it's literally taht simple. Sep 14 20:57:52 g00s, yes Sep 14 20:58:19 one of my peaves about play console stats - next to android version, screen size distribution Sep 14 20:58:22 sorry for the copy pasta guys - i meant to just do the EasyTracker line Sep 14 20:58:42 give GA a try Sep 14 20:58:47 it's wicked simple to integrate Sep 14 20:58:48 yeah, i will, thanks Sep 14 20:58:51 no reason not to do try it. Sep 14 20:58:52 free Sep 14 20:59:00 np Sep 14 20:59:12 wonder why its not in the google repositories along with the other crap, seems standalone in extras/ Sep 14 20:59:16 wonder how long these free services will remain free... Sep 14 20:59:30 i thought there was a cap on GA Sep 14 20:59:34 bubbleguuum, because google get SHITLOADS of data froM GA Sep 14 20:59:54 it's free, but then they have software "phoning home" _EVERYWHERE_ Sep 14 20:59:58 GA maybe, but I was more thinking of crash report services Sep 14 21:00:02 screen sizes, devices, etc. Sep 14 21:00:10 i thought Crashalytics was pay for Sep 14 21:00:19 was usin Flurry analytics at some point until I removed it... Sep 14 21:00:49 well, when you use it you see how valuable it is - and then maybe they're like "ok, your free trial is up - pay $20 a month to keep it going" Sep 14 21:01:20 that"s why I use ACRA which fits my needs Sep 14 21:01:23 JakeWharton: Maybe there's a way to do it from gradle, I don't know .. It's not something they mention on their website Sep 14 21:01:32 even if it took more than 5mins to setup Sep 14 21:01:39 I can choose to either install an Eclipse plugin or an IntelliJ plugin Sep 14 21:03:25 ok, birthday time for my kids - ya'll keep things quiet in here Sep 14 21:03:43 PARTY ON! Sep 14 21:06:26 hi. i want to rebuild android from sources for the Alcatel 890 Smart Phone. Can anybody tell me what for steps are needed after downloading all the android sources and the needed alcatel source => http://sourceforge.net/projects/alcatel/files/?source=navbar Sep 14 21:13:52 jedir0x: your still alive? blimey Sep 14 21:52:47 SimonVT: I actually stuck on that as well, but JakeWharton may be right. Digging a bit more led me to these https://crashlytics.com/downloads/gradle and https://gist.github.com/codebutler/5763818 Sep 14 21:59:40 f2prateek: Heh, guess it's still in beta or something Sep 14 21:59:52 https://crashlytics.com/downloads has a build tools button oO Sep 14 21:59:56 I don't get that when I log in Sep 14 22:00:43 JesusFreke: thanks Sep 14 22:01:34 I hadn't seen that before until you just pointed it out. Sep 14 22:07:20 guys, I am not able to use roboguice. Sep 14 22:07:27 injection simply does not work Sep 14 22:07:33 I keep getting nullpointer exceptions Sep 14 22:07:34 https://gist.github.com/anonymous/6566131 Sep 14 22:07:48 SimonVT: just went throught all that and got it working :) Sep 14 22:08:04 I am using roboguice 2.0 with with guice 3.0-no-aop Sep 14 22:08:33 f2prateek: Meh, I might try it when they stop being annoying :p Sep 14 22:21:37 anyone here use roboguice? Sep 14 22:28:02 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 14 22:30:09 man, same questions over and over... Sep 14 22:44:22 Could somebody take a look and maybe help me out on this one? ; http://stackoverflow.com/questions/18807142/error-static-storage-paths-arent-available-from-aid-system-raised-by-instance Sep 14 22:48:13 Does anybody know of a good Windows Android Emulator---better than bluestacks? Sep 14 22:49:29 AegNuddel, I think bluestacks is the best Sep 14 22:50:04 Sonicadvance1, I can't load my apps from my desktop in it though Sep 14 22:50:21 I want to verify they work before putting them on my account Sep 14 22:50:54 I can't help with that Sep 14 22:50:57 I had to go and do it blindly for the first one...didn't like that Sep 14 22:52:09 What's the official one called? Sep 14 22:52:42 "the Android emulator" Sep 14 22:52:58 ah Sep 14 22:53:01 hmm, can I put an image in the middle of a textview? is there some kind of style span I can use? Sep 14 22:54:25 ImageSpan Sep 14 22:54:26 hmm Sep 14 23:01:36 Is there a way to load files from my computer's desktop into the AVD? Sep 14 23:02:41 AegNuddel, adb Sep 14 23:02:52 How can I find all files generated by a certain app? I want to see the config files for Kindle Sep 14 23:04:34 ...dang trying to remember where all this stuff is. Was so much easier when I could find my tablet. Sep 14 23:12:35 nevermind, I solved the problem Sep 14 23:15:54 ... oh well. Sep 14 23:16:13 I can delete an app from my store if it doesn't work right, right? Sep 14 23:28:06 Any idea why I might be getting this java.lang.NullPointerException in android.graphics.drawable.AnimatedRotateDrawable$AnimatedRotateState.canConstantState http://pastebin.com/Wa0Fwx4a (Google Play Stack Trace) ? Sep 14 23:28:21 is it ok to use a galleryview as a horozontal nav bar with thumbnails under a viewpager, on image click the viewpager will change position to corresponding item? Sep 14 23:28:29 or is there a better way? Sep 14 23:28:42 since gallery is deprecated Sep 14 23:30:07 maybe just a horizontal scrollview? Sep 14 23:31:40 decided I will just go with a "blind" upload Sep 14 23:31:47 I have seen it before Sep 14 23:31:58 but the dumb thing wants SCREENSHOTS Sep 14 23:32:15 I couldn't find how to run adb at all Sep 14 23:32:45 so how am I supposed to get SCREENSHOTS?! Sep 14 23:32:58 what? Sep 14 23:33:36 pebcak? Sep 14 23:33:45 It wants screenshots for my store listing Sep 14 23:33:56 I have no idea where my tablet is. Sep 14 23:34:11 I uploaded the file but the store wants screenshots Sep 14 23:34:16 why not just run emulation? Sep 14 23:34:21 Yea, it requires at least two screenshots Sep 14 23:34:37 I want to but how do I load files that are on my desktop?! Sep 14 23:34:50 what Sep 14 23:35:00 The developer console lets you upload screenshots to it Sep 14 23:35:19 uhhh the issue is GETTING the screenshots Sep 14 23:35:23 has anyone had success porting an html5 canvas game to android with intel xdk and what were your results (x2 fps x10 fps)? Sep 14 23:36:01 AegNuddel, So you don't have the screenshots? What's wrong with a print screen? Sep 14 23:36:27 how do you remove " from json data Sep 14 23:36:31 nothing if I could LOAD the files into an emulator! Sep 14 23:36:36 my string returns "string" Sep 14 23:36:56 I don't think my level of support goes to this level Sep 14 23:39:28 lol guy in video called an emulator an "emu later" Sep 14 23:45:06 mawhtin: how are you parsing the JSON data? Sep 14 23:45:28 bankai_: it's actually in iOS Sep 14 23:45:40 oh crap did i join the wrong channel again ? Sep 14 23:45:45 haha no Sep 14 23:45:47 just me Sep 14 23:45:51 frustrated so I wanted to ask here anyways Sep 14 23:45:56 so it's okay if you don't want to help in ios Sep 14 23:45:57 :) Sep 14 23:46:33 are you using a proper JSON parser? you shouldn't get quotations if you're mapping objects properly Sep 14 23:46:52 can i send you a snippet of the code? Sep 14 23:47:04 i don't know obj-c sorry Sep 14 23:47:11 aw ok Sep 14 23:47:27 looks like the stupidest language in the world to me, even worse than c++ haha Sep 14 23:47:40 the funny thing is I'm accessing other keys from the same json object I parsed, and no quotes in those Sep 14 23:47:55 I just happen to get quotes in the photo_reference key Sep 14 23:48:01 google Places API btw Sep 14 23:48:07 are they looking something like variable: "\"data\"" ? Sep 14 23:48:16 nope Sep 14 23:48:26 NSLog prints straight "referenceID" Sep 14 23:48:45 so when I place that into a URL, the url contains " " Sep 15 00:05:43 Hello. Sep 15 00:15:44 this is very nice https://vollnixx.wordpress.com/2012/06/06/android-porterduffxfermode-examples/ Sep 15 00:19:13 Yea, lots of different blending modes you can do :P Sep 15 00:28:08 Any idea why I might be getting this android.os.TransactionTooLargeException in android.os.BinderProxy.transact:http://pastebin.com/6VLh1XVL (Google Play Stack Trace) ? Sep 15 00:31:45 In the onCreate method the following code returns a nonnull value: findViewById(R.id.conversation), in the my 'think' method which is the onClick method of a button it returns a null value. Any ideas why? Sep 15 00:38:49 Hey guys, I'm trying to continue a project I left a month ago... If I don't uncomment this code: https://gist.github.com/kovek/6567034, I get an error when clicking an item list. The log tells me that it is caused by: InflateException, InvationTargetException and it tells me I should use setOnItemClickListener. Sep 15 00:42:43 That clickListener is not related to the list item.. I don't see why it throws an error Sep 15 00:49:02 How do I access a TextView from an onClick method? Sep 15 00:50:04 Bitwise: how do you make a proper onClick method? Sep 15 00:50:20 android:onClick="think"/> Sep 15 00:50:41 hmm there's some other wayt Sep 15 00:50:45 public void think(final View v) { Sep 15 00:50:45 this one throws me an error.. Sep 15 00:51:12 http://stackoverflow.com/questions/11558053/android-buttons-adding-functionality Sep 15 00:57:52 How can I execute a synchronous task? Sep 15 00:58:21 I see the AsyncTask class but I need it synchronous not asynchronous. :\ Sep 15 00:58:36 does anyone have a galaxy s4 or htc one to test a fix for loading maps in my game, please Sep 15 00:58:47 im not able to use the galaxy testing site for some reason Sep 15 00:59:00 some issue with javascript ... on all of my browsers apparently -_-''' i dont thin kthats the issue Sep 15 00:59:04 but thats the bug they display fromt heir web site Sep 15 01:01:13 Bitwise: yeah... that method doesn't work.. Sep 15 01:01:42 I just started like 30 minutes ago, I'm probably not the best person to ask. :\ Sep 15 01:02:28 tripknotix: why do you need those Sep 15 01:02:30 Hahahah alright Sep 15 01:03:48 guys, I deleted some library in my /src folder. I redownloaded it and now I'm trying to reinstall it. This method http://stackoverflow.com/questions/6678665/add-jar-file-in-android-sdk does not bring the library back in the /src folder.. I have no clue what to do now.. Sep 15 01:05:52 Bitwise, a synchronous task? Sep 15 01:06:05 that's just... do it Sep 15 01:06:25 ASyncTask is a thing that enables you to get it run on another thread without much hassle Sep 15 01:07:34 :O Well I'm running a slow task when a button is pressed. The button remains depressed which looks dumb.. Sep 15 01:09:16 In fact, I append text to a TextView before running the slow code and then append more afterwards. Sep 15 01:09:44 The text doesn't appear before the task is run.. Sep 15 01:10:16 don't run the slow code on the UI thread because that won't twerk Sep 15 01:10:34 then you want async, that will keep the GUI "alive" while it runs Sep 15 01:12:19 http://pastebin.com/UiRPxRpH Sep 15 01:12:38 Ignored the syntax error but that's my code. Sep 15 01:13:04 don't call get Sep 15 01:13:27 http://developer.android.com/reference/android/os/AsyncTask.html Sep 15 01:15:42 funkbox, So instead of retrieving the result with get I should just handle the result in the execute method? Sep 15 01:15:55 well on the post execute Sep 15 01:16:01 since in the execute method you can't touch the UI Sep 15 01:16:12 Ahh, thanks for that tidbit. :-) Sep 15 01:16:26 ain't no thang Sep 15 01:21:56 funkbox: its an issue with the andreno 320 i guess, it closes when it tries to load the levels, and the errors i receive in my google play console say shader error Sep 15 01:22:10 ah okay Sep 15 01:28:02 Any idea why I might be getting this java.lang.RuntimeException in android.view.InputChannel.nativeReadFromParcel --> http://pastebin.com/VpEh7khs (Google Play Stack Trace) ? Sep 15 01:30:23 gavilan2, have you really been effective asking the same damn question over and over? Sep 15 01:30:27 different stack, same question... Sep 15 01:33:37 * pfn ponders how to get a grounding wire into his bedroom's electrical boxes Sep 15 01:33:42 I just bought a couple outlets with dual usb charging ports... need a grounding wire, meh Sep 15 01:44:05 So... how can I install a .jar library? Sep 15 01:45:05 Hi anyone on? Sep 15 01:45:18 yes! Sep 15 01:45:31 DVnity, you got any idea how I could install a .jar library in the projecT? Sep 15 01:45:37 pfn: and yet no real answers :$ Sep 15 01:46:07 Bitwise: Your question had no sense at all Sep 15 01:46:10 Could someone help me out with client - server communication Sep 15 01:46:17 Sorry wilornel ? Sep 15 01:46:42 gavilan2, yeah, because everyone is pissed off by your repeated question Sep 15 01:46:51 I have this graphview-3.1.jar file. It's a library to draw graphics Sep 15 01:47:06 using an IDE, wilornel? Sep 15 01:47:08 I had it kind of "unzipped" under my /src folder Sep 15 01:47:12 yes, eclipse Sep 15 01:47:12 pfn: I have 3 bunches of crashes reports, that seem to point to 3 different bugs in my application, that affect relatively a large set of users (about 1%)... I'm asking for help about those 3 issues.... Sep 15 01:47:27 wilornel, project properties->java build path->libraries->external jar Sep 15 01:47:45 pfn: I think that it's more because the crashes appear in some weird stuff of the android libs Sep 15 01:48:14 Xabster: Hmm.. "HJARs and class folders on the build path:" -graphview-3.1.jar - D:\dev\workspace\foo Sep 15 01:48:21 the jar file is already in there Sep 15 01:48:27 pfn: A lot of people tried to help me already, but nobody really knows what happens... I'm asking again and again, because not all people are in the channel at the same time Sep 15 01:48:30 huh? Sep 15 01:48:39 but it does not appear under project/src/com/jbb64/graphView Sep 15 01:48:49 it shouldn't Sep 15 01:48:55 did you do what i said? Sep 15 01:48:56 I only have project/src/com.example.foo Sep 15 01:49:00 yes I did Sep 15 01:49:05 then it's there Sep 15 01:49:07 so now I can use it's classes, right? Sep 15 01:49:10 yes Sep 15 01:49:11 its* Sep 15 01:49:14 alright, thanks Sep 15 01:49:23 so then, what is causing my error?.... hm... Sep 15 01:49:41 Sorry wilornel, not sure Sep 15 01:50:00 DVnity: nah I "solved" the part with the jar thanks to Xabster Sep 15 01:50:07 gavilan2, really, post it in stackoverflow and never ask here again Sep 15 01:50:15 now I need to find an alternative to android:onClick:"switchToGraph" Sep 15 01:50:15 gavilan2, I'm really hating how you repeat over and over now Sep 15 01:50:26 pfn: I'm sorry :( Sep 15 01:50:39 what's the best time to ask questions around here? Sep 15 01:50:55 instead of asking it again and again... do what he suggests? Sep 15 01:51:04 that's actually what I need to do.. Sep 15 01:51:12 * wilornel goes back into his hole Sep 15 01:52:37 Why not ask questions here lol? Sep 15 01:52:55 well you can't just constantly ask the same question again and again Sep 15 01:53:07 gavilan2, the same question over and over is never Sep 15 01:53:20 Different question... Why might I be getting java.lang.VerifyError and java.lang.IncompatibleClassChangeError? I've a lot of users, and only a few get that... Sep 15 01:53:32 2.2 and before Sep 15 01:53:36 Has anyone worked with client-server communication? Trying to set it up Sep 15 01:53:42 sooo.. does anyone know how else I can handle an onClick instead of android:onClick? I'm trying to Button.setOnClickListener but it doesn't work.. Sep 15 01:53:43 pfn: What do you mean? Sep 15 01:54:32 gavilan2, usually a result of running on a 2.2 device or earlier Sep 15 01:54:33 DVnity: stop doing survey questions, just ask Sep 15 01:54:52 pfn: but I target minsdk 7 Sep 15 01:55:10 and if I use more newer features, I always put an if, and a fallback way for the API 7 Sep 15 01:55:11 Xabster: okay... Sep 15 01:55:19 pfn: why would I get that? Sep 15 01:55:35 The method setOnItemClickListener(new OnItemClickListener(){}) is undefined for the type Button. What should I use instead? Sep 15 01:55:45 I'm trying to set up a client - server communication for authentication and other things. How would I go about creating a good API to set this all up wth Sep 15 01:56:32 you write code that does what you've envisioned, DVnity Sep 15 01:56:39 gavilan2, I forget, but 2.0 will throw a verifyerror if you have a newer api call in the same class, iirc Sep 15 01:56:41 terrible vague question Sep 15 01:56:43 maybe 2.1 Sep 15 01:56:45 I can't recall Sep 15 01:57:05 Xabster, any idea how to handle a click? Sep 15 01:57:13 a click? Sep 15 01:57:18 pfn: Do you know where can I find detailed information about this behavior? Sep 15 01:57:22 Xabster: I can't really get more specific, just starting out but I'm not sure where to start from Sep 15 01:57:49 wilornel: http://developer.android.com/reference/android/widget/Button.html Sep 15 01:58:25 gavilan2, google Sep 15 02:00:36 when I add the code on the page to my onCreate, the Fragment which contains the code does not load up, the app crashes Sep 15 02:01:46 what? the page even suggests to use android:onClick. That thing also make my app crash Sep 15 02:02:35 makes* Sep 15 02:03:04 don't use android:onclick, it's worthless Sep 15 02:03:44 Strange question... But does anyone has any reference to some literature or anything discussing what makes a great Android app such as: Fast & Smooth, Appealing, Easy to use, No bugs... etc...? (I know it's a strange question, but anyway) Sep 15 02:03:59 Why? To me it is very simple.. Sep 15 02:04:01 that pretty much applies universally across all software Sep 15 02:04:23 gavilan2, have you not discovered d.android.com? Sep 15 02:04:44 gavilan2: http://developer.android.com/training/best-ux.html and the sections below it Sep 15 02:04:47 hey guys im trying to send a json multipart request from android to a rails server . I am using MultipartEntityBuilder but when it hits the server the server cannot parse the json . Sep 15 02:05:05 https://gist.github.com/acoroian/6567439 Sep 15 02:05:12 ?pfn, with a quick glance: https://gist.github.com/kovek/6567432. It means there's something wrong with the graphview library Sep 15 02:05:38 ? Sep 15 02:05:48 ?* Sep 15 02:06:07 I don't know what to do about that error.. The library used to work before Sep 15 02:06:40 noobeh: is that the exact and entire body of the HTTP request? Sep 15 02:06:44 fix it Sep 15 02:06:44 what else Sep 15 02:06:44 bug the library owner Sep 15 02:07:13 that pretty much applies universally across all software ---> great, any place that talks about that anyway? Sep 15 02:07:20 google Sep 15 02:07:45 you, sir, are the king of stupid questions Sep 15 02:07:59 Leeds yup i have to add some images but i stripped it down to just the json for now Sep 15 02:08:36 to figure out this error Sep 15 02:08:44 pfn: you, sir, are rude! Sep 15 02:09:42 http://www.lmgtfy.com/?q=android+what+makes+a+good+app+book Sep 15 02:09:46 gavilan2 Sep 15 02:10:36 noobeh: I don't know anything about MultipartEntityBuilder... but that's not a full multipart MIME document there. Sep 15 02:10:45 Xabster Sep 15 02:11:46 Leeds im new to android. i create an HttpEntity but i dont know how to get the content of it. in eclipse getContent (which is in the docs) does not seem to return anything. What i posted in that gist is the error from the server sorry Sep 15 02:11:51 I'm getting an error with the imported library, the .jar file, but it does not show up in my project files... How do I make them show up there to pinpoint the cause of the error? Sep 15 02:13:23 .... I followed these steps: http://stackoverflow.com/questions/6678665/add-jar-file-in-android-sdk to add a library to my project. Now, I'm getting an error with the imported library, the .jar file, but it does not show up in my project files... How do I make them show up there in order to pinpoint the cause of the error? Sep 15 02:13:38 noobeh: post the code which is building/making the request Sep 15 02:14:22 hmm quick graphics question is there mode where xfer is add or subtract? say if I draw circle of color red, it adds (or subracts) that color from picture Sep 15 02:17:21 nivce http://stackoverflow.com/questions/7048941/how-to-use-the-lightingcolorfilter-to-make-the-image-form-dark-to-light Sep 15 02:17:34 Leeds https://gist.github.com/acoroian/6567485 Sep 15 02:18:10 GL_FUNC_SUBTRACT under OpenGL Sep 15 02:18:12 :P Sep 15 02:19:37 <|0xD34D|> assuming GL_BLEND is enabled :P Sep 15 02:19:54 gavilan2, really, you deserve it :p Sep 15 02:20:11 :) Sep 15 02:23:05 |0xD34D|, Yea. I prefer OpenGL over any other method Sep 15 02:24:04 yeah I don't really know gl. I last used it around 5 years ago at college Sep 15 02:24:09 made awesome toruses lol Sep 15 02:27:07 Lucky, I wish my college ever taught a OpenGL course :P Sep 15 02:27:37 .... I followed these steps: http://stackoverflow.com/questions/6678665/add-jar-file-in-android-sdk to add a library to my project. Now, I'm getting an error with the imported library, the .jar file, but its files do not show up in my project!... How do I make them show up there in order to pinpoint the cause of the error? Sep 15 02:29:11 I used to have it's files under my /src folder. I stupidly deleted them yesterday.. Sep 15 02:30:06 That's the error I'm getting btw: https://gist.github.com/kovek/6567432 "ClassNotFoundException" Sep 15 02:32:49 what do you think Leeds Sep 15 02:33:01 Hey guys, what's the best way to present a "loading..." screen when the application starts up? I used an Activity, and when loading is done I did startActivity(), but users complain that now the "Back" button doesn't quit the app. Sep 15 02:36:51 jwalker60, a splash screen, you can launch your main activity, then if init not done, launch the splash activity Sep 15 02:36:56 when the splash is done, finish Sep 15 02:37:01 and main activity can continue Sep 15 02:37:54 of course, when you start the splash screen, you exclude it from recents and history and whatever Sep 15 02:39:06 noobeh: as I said, I don't know MEB, but nothing there looks obviously terrible - I'd go back to checking the *full* HTTP request, which you should be able to dump on your server... as an example, is the Authorization header there, or not? Sep 15 02:40:26 got it. Yeah i think its related to the way the request is built. it seems to error out because the json is not formatted correctly. Ill see i might just build the request from scratch myself Sep 15 02:41:30 pfn, exclude from recents means it will not be launched on "Back" button ? Sep 15 02:41:43 jwalker60, effectively Sep 15 02:41:49 alright, thanks! :) Sep 15 02:41:51 jwalker60, but really, you should launch the splash from your main activity Sep 15 02:41:53 and then finish the splash Sep 15 02:41:59 so either way, you can't press back to it Sep 15 02:42:09 i.e. startACtivityForResult from main activity Sep 15 02:42:23 for example Sep 15 02:42:34 was my post ignored or was it lacking enough information? Sep 15 02:42:44 yes, this is what I'm going to do. Sep 15 02:42:53 If I want to create a layout like: http://i.imgur.com/ZWaaQKJ.png Sep 15 02:42:58 What would be my best approach? Sep 15 02:43:08 e.g. onCreate() { isDataLoaded { init() } else { startActivityForResult(...) } } onActivityForResult { isSuccessful { init() } } Sep 15 02:43:27 either way, you can't back to your splash screen Sep 15 02:43:44 and if the splashscreen is cancelled, you can just finish the main activity from onResult Sep 15 02:43:45 even if the activitiy isn't excluded from recents. Sep 15 02:43:55 that's right Sep 15 02:43:56 * pfn & Sep 15 02:49:30 What category would a religious/charity app go under? Sep 15 02:51:03 Games Sep 15 02:51:15 haha very funny Sep 15 02:51:32 It's an app for a charity Sep 15 02:51:58 That gives Christmas gifts to poor children around the world Sep 15 02:54:28 wilornel: fixed it? Sep 15 02:55:08 Well daily prayer app so I guess it's a tool. Like you, Orbitrix Sep 15 02:55:16 i mean Orbixx Sep 15 02:55:35 AegNuddel: I'd swing for 'Lifestyle' in that case Sep 15 02:55:57 I thought about that one too Sep 15 02:55:59 ok Sep 15 02:56:32 thanks. You have bettered yourself 1 million times. Sep 15 02:57:08 Over the course of my lifetime, I'd say that's reasonably accurate Sep 15 02:59:08 Google's "One Today" charity app is in Lifestyle Sep 15 02:59:33 * Orbixx gloats Sep 15 02:59:49 Seriously though, recommendations for layout on the above pasted link? Sep 15 02:59:53 http://imgur.com/ZWaaQKJ **** ENDING LOGGING AT Sun Sep 15 02:59:59 2013