**** BEGIN LOGGING AT Mon Jul 07 02:59:59 2014 Jul 07 03:00:44 this enhancement request has been in the tracker for years - but it would be such a nice and simple addition, if i could specify which logcat fields I can see Jul 07 03:00:57 usually, i only want my apps, and I only want timestamp and message Jul 07 03:01:09 the way it is now it gets totally smooshed on my small display Jul 07 03:01:42 so i only need 2 logcat fields: time and message, maybe component Jul 07 03:02:01 in eclipse you can kinda collapse them to 0 width Jul 07 03:08:54 argh this is bad enough to make me want to use eclipse Jul 07 03:09:30 why would you need line numbers? Jul 07 03:10:04 The only times I care is either when I want to go to a specific line (ctrl+g), or see what line the cursor is on (which is shown at the bottom) Jul 07 03:10:55 But in any case, I imagine it should be possible to enable them, if you really want them. Although I've never wanted to, so I'm not certain :) Jul 07 03:12:04 takes two seconds to enable ... what's the problem ? Jul 07 03:12:16 "Pink Floyd To Release First New Album in 20 Years This Fall" \o/ Jul 07 03:13:13 JesusFreke: do you just always do debugging with your stack traces? Jul 07 03:13:30 lasserix: I use the debugger plenty Jul 07 03:13:50 I'm not sure what line numbers have to do with using the debugger though Jul 07 03:15:59 And if I'm looking at a stack trace, I use ctrl+g to go to the line mentioned in the stack trace Jul 07 03:19:23 i have them turned on in AS. seems like still, the IDE and build system are not in agreement - everything looks fine and then I go to build to discover a bunch of errors. no problem - but the aapt ones usually require you to fish out the line # Jul 07 03:19:59 they just show up in the console as some unparsed dumb blob of text Jul 07 03:24:20 hmm. still not sure why ctrl+g plus the line:column display at the bottom wouldn't be all you need for that. In any case, I guess it's just one of those personal preference things :) Jul 07 03:24:50 i'll have to try that Jul 07 03:26:17 is the line:column display shown by default? I don't recall doing anything to turn it on, but I might have just done it a long time ago and always carried my settings forward Jul 07 03:28:08 yes is it Jul 07 03:43:08 JesusFreke: good pnt Jul 07 03:57:29 what's the best way to run python on android (assuming root, either apk or natively) Jul 07 03:57:54 HEY EVERYONE Jul 07 03:57:57 I finally got hello world to run Jul 07 03:57:58 lol Jul 07 03:57:58 doldrim: https://code.google.com/p/android-scripting/ Jul 07 03:58:11 my adt bundle program doesn't create a proper hello world program Jul 07 03:58:14 but I did eet! Jul 07 03:58:21 I had to manually create the activity myself Jul 07 03:58:26 then manually link it somehow through xml Jul 07 03:58:29 JesusFreke: sweet Jul 07 03:58:30 ...i used some automations but Jul 07 03:58:35 hit enter a few more times Jul 07 03:58:35 i kind of had to tinker with it lol Jul 07 03:58:45 RedEyedGirl: sounds like you learned more that way :) Jul 07 03:58:49 yes. Jul 07 03:59:04 I learned that the manifest file's are very important and that they really really need to be a certain way or things just don't work. Jul 07 04:01:38 the app ends up being named mainactivity.. Jul 07 04:01:41 did I do something wrong? lol Jul 07 04:05:35 I see it... now. activities in android are created like classes in object oriented code. Jul 07 04:05:43 i'm still having trouble getting the hello world app to compile after adding a second activity in the tutorial Jul 07 04:05:53 er, build Jul 07 04:06:07 what's the error ? Jul 07 04:07:47 ant debug starts throwing all sorts of errors in DisplayMessageActivity Jul 07 04:09:05 It took me 3 days to build an android dev enviroment for arm on an amd64 system than seems to be compiling correctly. Don't laugh, this is my first. I think I did a decent job. Android comiling has been running for an hr now. Jul 07 04:09:07 i'll have to find the specific error tomorrow Jul 07 04:09:57 i screwed up eclipse so badly that it won't recognize the android sdk anymore, and i'm under the impression that the tutorial can't be run without eclipse because building the proper files with the command line doesn't work Jul 07 04:10:20 are you asking for help or just saying something, MrMoozh ? Jul 07 04:11:47 i guess my first question would be to ask if the android developer tutorial is up to date, because following the instructions to the letter in ubuntu doesn't seem to yield the right files Jul 07 04:12:08 what tutorial ? Jul 07 04:12:15 "building your first app" Jul 07 04:12:19 where? Jul 07 04:12:42 maybe they should call it "building your last app" Jul 07 04:13:10 http://developer.android.com/training/basics/firstapp/starting-activity.html where i start having problems is when it calls for fragment_main.xml, and neither eclipse nor command line creates this file Jul 07 04:14:07 MrMoozh 4.4 is a little goofy Jul 07 04:14:28 at least from the kernel side (the main brain) Jul 07 04:14:57 MrMoozh that step is here http://developer.android.com/training/basics/firstapp/building-ui.html Jul 07 04:15:10 http://developer.android.com/training/basics/firstapp/building-ui.html#LinearLayout Jul 07 04:15:46 how do I make variables show up in debug view? Do I have to mark them somehow in code? Jul 07 04:16:09 which IDE? Jul 07 04:16:10 MrMoozh do you know linux? Jul 07 04:17:06 define "know" Jul 07 04:17:21 ^ that's a no Jul 07 04:17:43 what am i supposed to know that i don't know? Jul 07 04:18:23 MrMoozh are you nifty on the command line? can man something and be functional? Jul 07 04:18:35 i can man and learn Jul 07 04:18:46 i installed most of the sdk from the command line Jul 07 04:18:50 RedEyedGirl: activities are classes, specifically subclasses of contextthemewrapper --> http://developer.android.com/reference/android/app/Activity.html Jul 07 04:18:57 bankai_au:eclipse Jul 07 04:19:03 mostly because the ubuntu software center doesn't seem to work Jul 07 04:19:27 jamesson: set breakpoints and once it's paused you can lookup var values and/or set watches Jul 07 04:19:37 MrMoozh also look into linux. Linux is the swiss army knife of operating systems. if you know linux, you know android. Android is very very powerful. Jul 07 04:19:56 bankai_au I di, it never showed. Let me try and relaunch Jul 07 04:19:59 "if you know linux, you know android" ? not quite ... Jul 07 04:20:00 there's a lot more to android than linux :) Jul 07 04:20:13 I can inspect in code, no prob Jul 07 04:20:20 linux doesn't have activities, intents, etc. ;) Jul 07 04:20:41 nothing about linux in particular has confused me. its the tutorial i have problems with, because following it verbatim doesn't yield the results it claims it should Jul 07 04:21:26 JesusFreke doesn't have activities? what do you mean? *pEYEd ponders log files* Jul 07 04:22:40 yea its there. Hm. Jul 07 04:24:04 why did they make a network debugger, instead of a debug driver, do you think? Jul 07 04:24:06 MrMoozh what's the url? Jul 07 04:24:22 the instability is... unpleasant Jul 07 04:26:31 anyone know of a good logcat script to use? Jul 07 04:26:51 in theory we could pipe logcat into a program and develop a half decent ui for it? Jul 07 04:28:19 using the command line, this is where the tutorial starts to fall apart http://developer.android.com/training/basics/firstapp/building-ui.html Jul 07 04:29:54 the command line file creation doesn't create fragment_main.xml. res/layout/ only has main.xml Jul 07 04:32:20 MrMoozh the link i provided, says open that file up and put the LinearLayout in it Jul 07 04:32:28 what am i missing ? Jul 07 04:37:46 nothing yet, linear layout in main.xml works. building the third time... Jul 07 04:38:13 ant debug threw 24 warnings Jul 07 04:41:02 http://pastebin.com/v0LhxC75 Jul 07 04:42:05 i know there are things i'm supposed to Import, and i know that eclipse can auto-complete imports for you, but when i tried it (ctrl-shift-O) eclipse locked up, crashed, and can't see the android SDK anymore Jul 07 04:42:59 <_Auron_> would anyone know of circumstances that would prevent onPause() from being called when Back or Home are pressed, but logcat gives out "showstatus on inactive InputConnection" ? Jul 07 04:43:05 how about setting up the sdk? Jul 07 04:43:51 _Auron_: where is that logcat being called? what logs you get or don't get from onPause? Jul 07 04:44:55 <_Auron_> it's called from IInputConnectionWrapper, which isn't from my app at all, from the OS I assume Jul 07 04:45:38 show ur activity Jul 07 04:46:19 <_Auron_> it's a game engine, showing my 'activity' would not be simple Jul 07 04:47:17 it's simple. show where your onPause is being ignored Jul 07 04:49:52 _Auron_: if ya want more detailed help, you should give more details, so others may be able to give some thought.for example, engine you are using, sdk supported etc.. Jul 07 04:50:03 <_Auron_> http://pastebin.com/0xPFuAuU Jul 07 04:50:17 <_Auron_> it's a custom engine, targeting min sdk 5, using eclipse/ADT Jul 07 04:50:40 and you are 100 Jul 07 04:50:49 % onPause isn't called? Jul 07 04:52:17 <_Auron_> nothing in the above code is run when my gameplay cluster is running, but it works on the titlescreen. I'm trying to figure out that changes why onPause() isn't called Jul 07 04:52:53 next you'd have to post the code where that onPause resides Jul 07 04:53:35 what about onDestroy is that called? also throw a Log.d("Whatever","onPause() called"); in onPause and onDestroy Jul 07 04:53:48 <_Auron_> under public class Comb extends Activity Jul 07 04:54:09 so that is the running activity that ignores onPause? Jul 07 04:54:13 if so post it Jul 07 04:57:39 <_Auron_> it's not an issue with my activity, I'm 100% certain of that Jul 07 04:57:58 <_Auron_> I just want to know of what circumstances would prevent onPause() from being called Jul 07 04:58:37 your activity not leaving foreground Jul 07 04:58:56 otherwise your logging is just off, or you messed up somewhere Jul 07 04:59:48 and i can't believe your 100%ness, you are coming from somewhere else, and android is newish to u Jul 07 05:01:37 <_Auron_> android isn't exactly new to me, but okay.. Jul 07 05:02:33 seems so, as simply, if your app loses focus, onPause/onDestroy is called, so.... Jul 07 05:03:12 are you having users accidently hit back/home while in your activity, and upon reloading nothing was saved? Jul 07 05:03:20 <_Auron_> no Jul 07 05:03:25 hah :) Jul 07 05:03:32 <_Auron_> hey JesusFreke :P Jul 07 05:03:35 <_Auron_> long time Jul 07 05:03:38 I remember _Auron_from the g1 days :) Jul 07 05:03:41 <_Auron_> yup Jul 07 05:04:12 _Auron_: i just can't get into the use case you are suggesting. what is your goal? Jul 07 05:05:10 hey guys I'm new to android and I'm trying to convert an Activity to a Fragment, what would I extend to instead of ListActivity? Jul 07 05:06:01 <_Auron_> canvs2321: I handle 'scenes' or sections of a game in my game engine via 'Clusters', and in my game I'm having this odd problem with, I have the Titlescreen and Campaign (gameplay) clusters Jul 07 05:06:35 <_Auron_> my engine processes them in the same manner, and if I hit back/home on the Titlescreen, onPause(), onDestroy(), etc are called and give log outputs appropriately Jul 07 05:06:41 _Auron_: hmm, onPause is a protected method, but your override is public. I can't recall java's rules in that case Jul 07 05:06:58 <_Auron_> but in my Campaign cluster if I hit back or home, I go to the homescreen as normal, except onPause() is NOT called Jul 07 05:06:58 but I suspect your public method is hiding the inherited protected method, not overriding it Jul 07 05:07:22 _Auron_ using @Override ? Jul 07 05:07:40 hmm, nope. It looks like you can override a protected method with a public method, nevermind. Jul 07 05:07:43 <_Auron_> g00s: ya Jul 07 05:08:00 <_Auron_> JesusFreke: yeah I've had no problems with this for years, I have nfi why it's doing this in this particular project Jul 07 05:08:12 <_Auron_> Swat! didn't even have this problem Jul 07 05:09:08 I am looking for a deveopment board with strong network capabilities. I am not an expert in computer engineering. What do people have to suggest? Jul 07 05:09:30 ajoul: raspberry pi? Jul 07 05:10:11 ajoul board to run android ? Jul 07 05:10:39 g00s, linux based operating system Jul 07 05:10:43 not exactly android Jul 07 05:12:01 <_Auron_> my other game using the same exact engine build and multiple Clusters doesn't have the same problem. I actually take over input from keypresses for the Back button in that one, but hitting Home at least calls onPause() and onStop() Jul 07 05:12:44 ajoul: I'd probably suggest a raspberry pi. If you're looking for something a bit lower level, maybe an Arduino Yun? Jul 07 05:12:47 ajoul: sounds like a raspberry pi might be a decent option Jul 07 05:16:55 JesusFreke, have you had experience with rasberry pi and what version of linux were you able to install? Jul 07 05:18:42 I have one and played with it a bit. You can get debian, arch, probably some other distros on it. Jul 07 05:18:55 (from what I recall, at least) Jul 07 05:19:01 <_Auron_> okay, onPause() was definitely being called. I'm just getting tired, my campaign cluster was disabling the logger. this is why I hate going back to old code :P Jul 07 05:19:13 _Auron_: hah :) Jul 07 05:19:25 <_Auron_> JesusFreke: I'm trying to really work on stroids 2 again fyi Jul 07 05:19:29 ajoul: there's a version of Debian made specifically for raspberry pi called Raspbian Jul 07 05:20:04 thanks a lot barbs ! Jul 07 05:20:09 <_Auron_> I spent months trying to multi-thread my engine to no avail, it was too maddening to work with android's lifecycle and an openGL surface thread with little threading experience Jul 07 05:20:26 yeah, threading can be challenging Jul 07 05:21:02 <_Auron_> I'll take up the challenge again some day, but since I changed how I handle alpha in my engine I don't need more threads for perf yet Jul 07 05:22:34 <_Auron_> I really wish AIDE could export .jars Jul 07 05:50:41 where did these guys get "Lemon Cake" from I wonder...? http://www.androidguys.com/2014/07/06/install-android-l-preview-nexus-4-thanks-xda/ Jul 07 05:52:20 I suspect they pulled it out of their bottoms Jul 07 05:54:57 like pretty much nearly every other suspected codename Jul 07 05:57:27 hahah what the hell Jul 07 05:57:37 “can be used as a daily driver for the majority of Android users.” Jul 07 05:57:37 Read more: http://www.androidguys.com/2014/07/06/install-android-l-preview-nexus-4-thanks-xda/#ixzz36l9V7mBY Jul 07 05:57:40 Follow us: @androidguys on Twitter | AndroidGuys on Facebook Jul 07 05:57:44 gah, asshole webpages Jul 07 05:57:58 but camera, bluetooth don't work Jul 07 06:05:49 i wonder if its worth putting maxSdk=19 until i test on L Jul 07 06:08:02 i have an app that connects to a SPP bluetooth device and receives values via reads on the input stream. under normal operation it works fine however if i turn the remote device off and leave it off for an extended period of time then the attempts to reconnect will fail when it comes back online. If it is only off a short while it reconnects fine. is this a bug in the android bluetooth stack or is it likely my implementation? Jul 07 06:15:46 teasp00n under 4.4, i often have trouble connecting regardless Jul 07 06:15:53 even with 4.4.3 Jul 07 06:16:11 4.4.2 and below were fine; i think the BT stack is still messed up Jul 07 06:27:54 i'm sorry, 4.3 and below were fine; 4.4 is when the trouble started (for me) Jul 07 06:33:18 hmm ok Jul 07 06:33:41 its only for a proof of concept so i think im going to just leave it how it is... Jul 07 06:35:53 also, ive seen that hacky use of reflection to create the socket. didnt make any difference for me (the answer to this question: http://stackoverflow.com/questions/2660968/how-to-prevent-android-bluetooth-rfcomm-connection-from-dying-immediately-after) Jul 07 06:38:08 its been a little since i looked at the error Jul 07 06:38:29 one sec Jul 07 06:41:01 can someone help me answer some newbie questions in regards to a tutorial i'm following? Jul 07 06:41:59 teasp00n can't find it; basically what I would see is that the BT connection would begin, but then close with a bad service record (eof, -1) Jul 07 06:42:23 oh well, time to go to sleep Jul 07 07:07:49 how can I see in ebugger, if bluetooth adapter is on? Jul 07 07:16:47 can someone help me answer some newbie questions in regards to a tutorial i'm following? Jul 07 07:17:38 Tolgon: maybe... you'd have to ask the questions before we know if we can answer them! Jul 07 07:17:53 all right Jul 07 07:18:04 I'm learning by making some tutorials on the androidhive site Jul 07 07:18:50 now theres a tutorial that lets you connect to an external database doing basic CRUD operations. I'm attempting to include this tutorial into a navigationdrawer I had made earlier that works with fragments Jul 07 07:19:16 so I'm getting issues with putting activities so that it works with the navigation drawer fragments Jul 07 07:20:05 for example Jul 07 07:20:06 a basic tutorial with external CRUD? holy .. Jul 07 07:20:21 haha Jul 07 07:20:42 whats exaclty is your problem ? :) Jul 07 07:21:16 I'm getting errors with commands like 'runOnUiThread' Jul 07 07:21:24 and I think I made a big mess of my code trying to change it Jul 07 07:21:30 ah okay Jul 07 07:21:51 wenn on android you are not allowed to call methods that take a lot of time to run on the ui thread Jul 07 07:22:16 can I share my project? it's for tutorial purposes anyway Jul 07 07:22:20 because while doing that, user input cannot be processed (so he cant leave ur app etc) Jul 07 07:22:24 sure Jul 07 07:22:54 so for things that take some time (like network operations in general, and lot of database stuff), you have to do that in a seperate thread Jul 07 07:24:25 www.tolgon.com/tutApp.rar Jul 07 07:24:35 eclipse project Jul 07 07:24:40 look at HomeFragment Jul 07 07:25:02 that's where I'm trying to implement a list of rows in a listview Jul 07 07:25:16 http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/ Jul 07 07:25:20 as shown in that tutorial Jul 07 07:25:25 but with some changes made Jul 07 07:26:37 better to use a pastebin than ask people to download and unpack your project... Jul 07 07:26:49 ok Jul 07 07:26:52 did your changes include leaving out the AsyncTask part? Jul 07 07:27:17 no I didnt leave that out Jul 07 07:27:17 i dont have an unrar :D Jul 07 07:27:58 http://pastebin.com/pMBRyWmc Jul 07 07:28:40 there's probably so much wrong with that Jul 07 07:28:59 but this is the first time I'm trying to change an activity to a fragment Jul 07 07:29:06 oh .. uhm yeah :D there Jul 07 07:29:09 there is Jul 07 07:29:11 and it's not working out well Jul 07 07:30:30 the part in onPostExecute should be in a runnable Jul 07 07:30:38 just dio it as normal Jul 07 07:31:08 hey guys Jul 07 07:31:13 Hi Jul 07 07:31:27 when I programmatically set a listview's selected index, it seems to scroll down to that item Jul 07 07:31:32 is there any way to prevent that? Jul 07 07:31:51 in amdroid emulator (Additional emulator settings) can i give more than one parameter setting with comma sepearted like -dns-server 8.8.8.8,-gpu on Jul 07 07:32:06 what do you mean by do it as normal danijoo Jul 07 07:32:21 call it in main thread Jul 07 07:32:23 without runnable Jul 07 07:34:27 so I just remove the runnable Jul 07 07:34:49 yes. Jul 07 07:34:55 and the ruOnUiThread() Jul 07 07:35:12 onPostExecute is always onIiThread Jul 07 07:35:20 onUiThread Jul 07 07:35:33 ok Jul 07 07:35:36 another question Jul 07 07:36:08 why does new int[] {R.id.tid give me and error but R.id.title next to it doesn't Jul 07 07:36:33 what error Jul 07 07:36:45 cannot be resolved or is not in a field Jul 07 07:37:35 then its not set. Jul 07 07:48:11 hey danijoo the application now stopped crashing on start Jul 07 07:48:15 but its just blank Jul 07 07:48:42 the navigation works tho Jul 07 07:59:16 I take that back danijoo Jul 07 07:59:18 it worked! Jul 07 07:59:25 I owe you man Jul 07 07:59:28 yw Jul 07 08:07:14 I created a table using sqlite browser. The file is available on my desktop Jul 07 08:07:29 how can I move it to the emulator path? Jul 07 08:08:01 how is it determined in eclipse which variables show up in java debug? How do I force a variable to appear there? Jul 07 08:08:14 niru: http://nextlevelandroid.com/?p=26 Jul 07 08:08:40 thanks danijoo Jul 07 08:42:37 Anyone could help me out with my dagger (dependency injection) ? Jul 07 08:47:14 ActiveAndroid vs. GreenDAO vs. ORMLite … Which is used by most and which is the best? Jul 07 08:48:19 would answer both with ormlite Jul 07 08:48:25 but thats just an opinion Jul 07 08:50:45 ok danijoo ty Jul 07 08:51:10 danijoo: why do you think ormlite? Jul 07 08:52:02 i used activeandroid a while but it has its limitations.. Jul 07 08:52:09 dont know about greendao Jul 07 08:52:55 danijoo: which one is easy to use? Jul 07 08:53:21 compared to writing your own handlers, all are :D Jul 07 08:53:37 napster I use ORMlite, as long as you thoroughly read the docs...it's been great Jul 07 08:53:49 danijoo: compared to each other, which is? :D Jul 07 08:53:56 GSON + ORMlite is awesome Jul 07 08:54:07 active andorid might be the easiest. Jul 07 08:54:23 but id still recommend ormlite Jul 07 08:54:34 napster danijoo that said easiest != best Jul 07 08:54:41 exactly Jul 07 08:54:44 got it Jul 07 08:55:03 thanks a lot guys EdGeorge danijoo Jul 07 08:55:20 no probs Jul 07 09:23:36 Is it not possible to inject in a custom arrayadapter? Jul 07 09:24:44 O.o Jul 07 09:26:49 danijoo can I ask for your help again? After I was able to fetch a list of entries in database through JSON I am now trying to create a seperate activity to view them individually when clicked Jul 07 09:27:03 app works fine but it crashes when I click something on the list Jul 07 09:27:10 so... it doesnt work fine :p Jul 07 09:27:29 what error do you get? Jul 07 09:27:29 guys, how to deal with NullPointerException? From time to time my app causes np when Activity is started, but I check if object is null (onCreate()) but how to terminate/close/cancel loading of activity? how to stop rendering process and cancel it all? :] Jul 07 09:27:54 um Jul 07 09:28:07 by designing your code so you don't have nulls where there aren't supposed to be any. Jul 07 09:28:11 woozly: If you get NullPointer then you simply do something wron "from time to time" Jul 07 09:28:17 you're treating the symptom, not the issue Jul 07 09:28:33 hi Jul 07 09:28:42 http://puu.sh/a0o9k/e35f532cd1.png Jul 07 09:28:42 try to find the cause of that nullpointer and fix it so it isnt null instead of ignoring it Jul 07 09:28:49 I understand guys, but it appears rarely and I can't catch it. :((( Jul 07 09:29:07 Tolgon: Its again too many work on main thread Jul 07 09:29:19 whatever you are doing there, you have to do it in an async task Jul 07 09:29:25 woozly, well you DO have a stack trace Jul 07 09:29:29 and you CAN check what's null. Jul 07 09:30:46 danijoo all I'm doing is assigning values to textviews Jul 07 09:30:52 from JSON Jul 07 09:30:54 http://pastebin.com/fBMt9x4T Jul 07 09:30:57 No you are doing some network operations Jul 07 09:31:40 what the hell Jul 07 09:31:57 you have a doInBackground which is there to do something not on Ui Thread Jul 07 09:32:07 and in it you tell it to do it onUiThread.. Jul 07 09:32:10 thats the problem Jul 07 09:32:29 runOnUiThread(new Runnable() { public void run() { Jul 07 09:32:41 remove that and run the code in it without it Jul 07 09:32:46 then it should work Jul 07 09:33:27 oh well. it wont. do it, and then put every method that affects an UI View (the setText stuff) into onPostExecute Jul 07 09:33:41 onBackground = seperate Thread, onPostExecute=UiThread Jul 07 09:34:03 do everything that takes time or network in a background thread, and everything that alters a view in UiThread Jul 07 09:35:45 it stopped the app from crashing Jul 07 09:35:50 so thats a start Jul 07 09:35:52 ty Jul 07 09:36:04 I think I should go back to basics Jul 07 09:37:53 Tolgon you just need to move stuff that interacts with the UI (i.e. Assigning text to textboxes) to onPostExecute Jul 07 09:38:42 as danijoo suggested (sorry didnt see that initially!) Jul 07 09:40:45 yes I will do that Jul 07 09:40:53 after I find out why the text doesnt display :p Jul 07 09:43:34 because its not in onPostExecute Jul 07 09:45:51 I keep getting this error spammed when my phone with Android L is plugged in http://puu.sh/a0oUu/8fe01d80ab.png Jul 07 09:50:48 just to be clear danijoo, I leave the network part in doinBackground (the httprequest etc) and set text in onpostexecute? Jul 07 09:54:45 yeah Jul 07 09:54:54 How do I prevent view from take focus? Jul 07 09:55:21 (TextView that still focus from viewpager sliding) Jul 07 09:55:25 steal* Jul 07 09:55:41 yoavst: you can call requestFocus from another view Jul 07 09:55:48 or make the view not focusable at all Jul 07 09:56:03 e.g. view.setFocusable(false); Jul 07 09:58:52 someone experience with dagger? Jul 07 10:03:35 I have a LinearLayout with textview inside a listview item inside listview inside a viewpager - http://pastebin.com/t0NbC0A9 . The problem is when I try to swipe the ViewPager from those linearlayout it only enables to swipe to the right, not to the left. why?!? Jul 07 10:12:56 that makes no sense yoavst. Are you sure you arent on the most left item? :p Jul 07 10:13:20 danijoo, I know it make no sense, but that happen :( Jul 07 10:17:20 danijoo, Want to check the apk? the layout: https://github.com/yoavst/ohelshem/blob/2.0/app%2Fsrc%2Fmain%2Fres%2Flayout%2Flesson_view.xml the adapter: https://github.com/yoavst/ohelshem/blob/2.0/app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fyoavst%2Fchangesystemohelshem%2FAdapters%2FMessagesAdapter.java Jul 07 10:19:16 Argghh everything on this app is on the main thread and argghh Jul 07 10:20:13 yoavst: as this is a problem of your viewpager, the viewpager adapter and activity might be more useful :) Jul 07 10:21:02 danijoo, I put a margin before the linearLayout, and in this margin i was able to swipe to both sides, so the problem is here Jul 07 10:21:19 Estel, It is a demo :/ Jul 07 10:21:35 plz dont laugh on me.....i tried to make an app which would calculate simple interest.....but it crashes :( Jul 07 10:21:36 Sorry, I didn't see your thing, just qqing at what I'm working on :P Jul 07 10:21:41 http://www.pastebin.ca/2818397 Jul 07 10:22:26 karan200000: do you have your logcat? :) Jul 07 10:23:03 i tried making it using android ide app on android device Jul 07 10:23:16 and the logcat of that app doesnt work :( Jul 07 10:24:28 yoavst: i dont know if this works but you can try to override boolean areAllItemsEnabled and let it return false Jul 07 10:24:42 maybe this also makes them not beeing focus-greedy Jul 07 10:25:11 danijoo, Will it work with onItemClickListener? Jul 07 10:25:22 no Jul 07 10:25:24 :/ Jul 07 10:25:54 overrided but the onItem works and the swiping not :P Jul 07 10:26:05 i really dont know where the prob is. I used clickable lists inside of viewpagers quite a lot and never had problems with swiping.. Jul 07 10:26:12 I know Jul 07 10:26:21 I have another fragment with same layout Jul 07 10:26:24 but diffrent adapter Jul 07 10:26:25 and it works Jul 07 10:26:41 maybe something is wrong with my code Jul 07 10:27:48 karan200000: I'd suggest finding why you don't have any logcat first! Everything ever will be impossible without it Jul 07 10:28:08 ohk Jul 07 10:28:36 There is an error on line 28 of your pasted code though Jul 07 10:28:52 the "android nClick=" bit Jul 07 10:29:23 k Jul 07 10:31:35 the layout is ok.......that was android:onClick Jul 07 10:31:46 something wrong with .java Jul 07 10:32:19 Are you using Android Studio or Eclipse? Jul 07 10:32:39 i m using Android IDE app frm play store Jul 07 10:32:54 Hello! I just want to ask about built type customization while building apk using android gradle plugin. I want to use different implementation of one class in release and debug build types. Can anyone suggest the way to implement this? I have tried to use different source folders src/main/java src/debug/java and src/release/java but src/release/java is not recognized in android studio as a... Jul 07 10:32:55 ...source folder (looks like this folder recognized as a usual folder). Maybe anyone can help me? Jul 07 10:33:08 karan200000: install the SDK on a real PC and use that Jul 07 10:33:21 k Jul 07 10:33:56 android ide=~30 mb / android sdk=310 mb Jul 07 10:41:00 Having a button with its own drawable and its in a row with two other buttons, all of them ste to width="0dp" and layout_weight="1" to equalize the space they take up Jul 07 10:41:10 how do I set the height, so it always scales to its quadratic form? Jul 07 10:41:30 because if I set, let's say 90dp which works fine on Nexus 5, it becomes squeezed on a Nexus 7 Jul 07 10:44:28 hello guys, how can i simulate a sim card in my android emulator ? Jul 07 10:44:33 is it even possible ? Jul 07 10:44:37 a dummby imei number Jul 07 10:44:41 or some sort of Jul 07 10:45:33 danijoo, The listview item resource is: https://github.com/yoavst/ohelshem/blob/2.0/app/src/main/res/layout/messeage_view.xml . the problem is with the first inner LinearLayout. Jul 07 10:54:55 I created two modules in android studio. running them independently works, as soon as I make one dependend on the other, the build fails with this error: Execution failed for task ':app:packageDebug'. Jul 07 10:54:55 > Duplicate files copied in APK AndroidManifest.xml. The modules were initially created in two separate projects and copied together later (importing did not work) Jul 07 11:04:49 which is better - android studio or eclipse? Jul 07 11:05:02 for newbies (especially) Jul 07 11:06:47 karan200000, I have worked a lot with Eclipse, but I totally love Android Studio. Most things feel easier for me, though sometimes it might have some glitches. Jul 07 11:07:28 so shud i start with android studio or eclipse? Jul 07 11:10:31 karan200000, I would say Android Studio, it is the future and Eclipse is being dumped (kind of at least). So you better get used to the new stuff instead of learning something that you need to forget soon anyways. Jul 07 11:10:57 ohk...thank u bro Jul 07 11:15:51 is there any way disabling ADB from a genymotion device? Jul 07 11:20:17 karan200000,I would say eclipse. Jul 07 11:20:59 i waiting for andorid studio to come stable. Jul 07 11:22:23 depending on size which software is bigger? Jul 07 11:22:42 karan200000, I suggest android studio Jul 07 11:23:38 we shud have a poll system to check which is best :P Jul 07 11:24:09 karan200000, test both Jul 07 11:39:02 misterli: I guess you can simply disconnect it from adb via disconnect deviceID Jul 07 11:39:21 but thats from the working machine terminal, not from within the device Jul 07 11:59:01 Hi folks, does someone has Android SDK running on Raspberry PI (ARMv6)? Jul 07 12:32:26 Hello There, is someone working with Android wear? Jul 07 12:32:51 I'm trying to add the "Set timer" capability to my app http://developer.android.com/training/wearables/apps/voice.html Jul 07 12:33:09 but i don't know how to set my app as the default one to set the timer Jul 07 12:39:13 The user selects which is the default app to handle a particular action Jul 07 12:39:25 Estel, within the android wear app? Jul 07 12:39:30 Yeah Jul 07 12:39:51 There's a "Set a timer" voice action option in the app Jul 07 12:39:59 Ok then i got it Jul 07 12:40:05 but I can't get my app there Jul 07 12:40:08 just the regular app Jul 07 12:40:44 And you're filtering for the intent in the wearable compontent? Jul 07 12:40:46 i tried also other activities intent filter Jul 07 12:41:00 within my "android" app Jul 07 12:41:38 hmm ok Jul 07 12:41:41 i think i got it Jul 07 12:41:51 Hi folks, does someone has Android SDK running on Raspberry PI (ARMv6)? Jul 07 12:42:12 I /think/ (not really done much) it ought to be an intent on the wearable thingy Jul 07 12:42:21 okok Jul 07 12:42:30 I think that too. The doc doesn't say much tho Jul 07 13:02:21 nothink Estel Jul 07 13:02:26 nope Jul 07 13:02:39 even within it Jul 07 13:02:54 (the wear app) i cannot choose it.... I'm getting mad Jul 07 13:03:54 Is the wearable app synced and on the phone? Jul 07 13:03:59 yes Jul 07 13:04:09 i'm rebooting the phone now :) Jul 07 13:04:15 trying the windows way Jul 07 13:04:16 s/phone/watch Jul 07 13:04:48 the wearable app is installed in the wear device through usb debugging Jul 07 13:05:04 the android wear app is costantly "Resynched" Jul 07 13:05:14 but the app is not shown Jul 07 13:06:21 within the chooser i mean Jul 07 13:16:45 hello, I'm reading something on android event listeners Jul 07 13:16:55 and the book gives me an example of TextView listener Jul 07 13:17:32 but for this to work, the activity has to implement that specific listener Jul 07 13:17:54 what if I have 50 buttons and 50 textviews on an activity, do I have to implement all the needed listeners? Jul 07 13:20:32 s1k3s, you can use anyonymous classes for them Jul 07 13:20:50 and yes, if you want something to happen when you click on a View, then that view needs a listener :P Jul 07 13:22:53 ok Jul 07 13:23:01 would you recommend using anonymous classes? Jul 07 13:23:13 use whatever makes your code more readable and conveniente. Jul 07 13:23:25 also, you really shouldn't ever have 50 buttons or textviews anywhere -_- Jul 07 13:23:29 it's just awful UI Jul 07 13:24:01 (for example) facebook app does Jul 07 13:24:26 s1k3s Facebook is not a good example for anything Jul 07 13:24:44 rofl true... Jul 07 13:24:52 s1k3s except being a bad example... Jul 07 13:25:01 and why is that? Jul 07 13:25:48 where do we even start on that! Jul 07 13:26:23 for a start, just because an app is popular does not mean it is a good app! Jul 07 13:26:38 I'm not sure if facebook has fifty buttons in the view at any one time? Jul 07 13:27:22 EdGeorge, I know what you are saying and agree... But I believe if an app makes you a shit ton of money it doesn't need to be good to be successfull Jul 07 13:28:23 Well no, Sloth514 just look at Yo. That just got $1.2m in funding Jul 07 13:28:36 all it does is send a push notification. Jul 07 13:28:51 is it profitable? Jul 07 13:28:59 Sloth514 not yet. Jul 07 13:29:16 it was an April fools joke Jul 07 13:29:26 and then became popular Jul 07 13:29:26 yea I remember Jul 07 13:30:20 I was just trying to make the distinction between what is good and what is successful. Jul 07 13:32:28 Is ActionBar created in each activity or is there a way to build it separately and include it in every activity? How does one go about? Jul 07 13:33:01 phyzloc: it's created in every activity, if you want to share components then share the xml file Jul 07 13:33:46 Estel: Thanks :-) Jul 07 13:35:56 danijoo, here? I found the problem, it was android:singleLine that cause it all (idfk why), but I need this attr :( Jul 07 13:36:31 https://code.google.com/p/android/issues/detail?id=37256 Jul 07 13:37:01 weird Jul 07 13:37:30 well, at least it isn't my responsibility :P Jul 07 13:44:00 registerListener :: handle = 0 Jul 07 13:44:11 is this supposed to tell me I didnt set a listener properly? Jul 07 13:58:13 yoavst: have you tried the workarround with setMaxLines(1) ? Jul 07 13:58:26 Yes, it works Jul 07 13:58:32 stupid, but work :P Jul 07 13:59:03 good to know. ty Jul 07 14:02:01 morning Jul 07 14:12:29 hey guys Jul 07 14:12:54 i was wondering what findFragmentByTag returns if the fragment with that tag doesn't exist Jul 07 14:13:44 null Jul 07 14:13:54 http://developer.android.com/reference/android/app/FragmentManager.html#findFragmentByTag(java.lang.String) Jul 07 14:29:56 I see thanks jals Jul 07 14:31:43 hi all Jul 07 14:33:03 how much dp are 60px on a physical display of height=960px and width=540px (hdpi device with pysical dpi of 240) ? Jul 07 14:40:22 Has anyone encountered an issue where native Google Cloud Print on 4.4 doesn’t print properly, whereas webview-based GCP does? Jul 07 14:45:31 a bug in android studio bugs the hell out of me Jul 07 14:45:45 it tells me to consider using apply() method instead of commit() Jul 07 14:45:59 even if Im already using apply() Jul 07 14:46:14 That's lint Jul 07 14:46:42 yeah Jul 07 14:46:52 its just a hint, but it still highlights part of my code Jul 07 14:46:59 otherwise perfect code :P Jul 07 14:47:12 You can delete lint tests individually iirc Jul 07 14:47:13 or edit them Jul 07 14:48:26 yeah, but I cant find the one Jul 07 14:52:39 cool, theres a fix for it in the pipeline Jul 07 14:54:36 any java dht brains here? Jul 07 14:56:49 I’m lookign for someone to help me code a secure chat client Jul 07 14:56:57 split the work etc Jul 07 14:57:18 Secure... Jul 07 14:57:23 Chat client... Jul 07 14:57:25 * flan3002 sighs. Jul 07 14:57:34 why the sigh? Jul 07 14:58:15 so far as I know, all current chat clients require a server, using dht, I think it can be done without a server Jul 07 14:58:16 Anything... special about it? Or yet another android 'secure' chat client? Jul 07 14:58:29 Oh... :/ Jul 07 14:58:39 you sound like the guy to talk to.... Jul 07 14:58:49 * flan3002 hides. Jul 07 14:59:12 Put your foot in it :D Jul 07 14:59:16 so far as I could find, I couldn’t find a chat client that didn’t have potential weaklinks Jul 07 15:00:10 ex, great synmantic has a secure chat, but if it goes through their server and requres all permissions on my device, I dont’ consider it secure Jul 07 15:00:10 Everything has weak places... Jul 07 15:00:34 point to point symetric key shoudl work? Jul 07 15:01:22 Sounds interesting, indeed... Though I've not done much security-related stuff yet... Jul 07 15:01:49 bbak, I’m on conference call.. work calls :) Jul 07 15:04:05 why is this error spamming? http://puu.sh/a0Fgk/08804afbf8.png Jul 07 15:04:14 it started happening with android L Jul 07 15:04:24 only happens when my device is connected Jul 07 15:05:16 Hi, an android app unpauses when I attach jdb. How do I get it so the app is paused in jdb so I can set breakpoints? Jul 07 15:05:44 set your breakpoints prior to attaching Jul 07 15:07:10 pfn: So I can attach after entering jdb? Jul 07 15:07:20 sure Jul 07 15:07:55 pfn: Excuse my ignorance. How do I do that? Jul 07 15:08:07 hmm, maybe not for remote procs, I guess you just put your breakpoints into .jdbrc Jul 07 15:09:34 pfn: OK thanks. That's not very convenient, but perhaps it's the only option. I'll check one other thing, that I was just thinking of... Jul 07 15:09:54 * pfn shrugs Jul 07 15:10:03 use eclipse or intellij to debug rather than jdb for this case Jul 07 15:14:12 I could look at intellij. I just tried providing a breakpoint via stdin but jdb exits with Input stream closed. Jul 07 15:23:15 yeah, you can't do that Jul 07 15:24:40 hi all, i'm doing a gridImage and when i click on item i want start a new layout with image in a new layout... my code is: http://pastebin.com/sgCxL55m and in MainActivity.java i have this code for click event: http://pastebin.com/Cs845Fh3, but when i run app i have freeze and this error: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.gallery2/com.ex Jul 07 15:25:53 some tips? Jul 07 15:33:12 Alfreda have you declared the new activity in the Manifest? Jul 07 15:33:36 I'm having a weird error with android studio during project import: Wrong offset: 348. Should be in range: [0, 231] Jul 07 15:34:00 does RecyclerView not run default animations when changes occur? It's documented as having default animations. Jul 07 15:34:03 (also, none of my project modules get imported Jul 07 15:37:07 why isn't recyclerview documented in the apidocs (d.android.com) yet Jul 07 15:38:54 what is intent filter? Jul 07 15:39:00 in manifest? Jul 07 15:39:24 Alfreda http://developer.android.com/guide/topics/manifest/intent-filter-element.html Jul 07 15:39:26 EdGeorge: now yes but I dont view noting in new Layout Jul 07 15:40:14 EdGeorge: i ve read, but in my case my intent is formed by string Jul 07 15:40:37 i must insert an intent filter' Jul 07 15:40:38 ? Jul 07 15:42:28 figured it out... you have to call notifyItemRemoved on RecyclerView.Adapter Jul 07 15:48:56 is there someone who implemented a layoutmanger for the recyclerview already? Jul 07 15:50:48 pfn: I figured I could solve my problem by giving jdb the breakpoint like this -> { echo "stop in com.rimbit.rimbit.core.Block.writeTransactions"; cat; } | jdb -sourcepath ./wallet/src -attach localhost:7777 Jul 07 15:51:38 veke|work: there's a LinearLayoutManager Jul 07 16:00:06 how do yall deal with the space that a textview seems to have automatically as margin / padding? i set includeFontPadding to false but there is still some Jul 07 16:01:00 when using jquery, i can do something like $('.divider'), and it will find all elements with the class 'divider'. Is there an android equivalent or do i need to give them all ids and look them up the annoyingly verbose way? Jul 07 16:04:03 mattblang: if you need text with no extra spacing, the most straightforward way is to draw the text yourself. Jul 07 16:06:21 alexfu yeah, probably not worth the effort. will just deal with it. the top margin appears larger than the left margin with my textview that is at the top left corner of my screen Jul 07 16:06:52 iHow insert a TextView under the border of a layout? Jul 07 16:07:03 i want scroll layout and view others Views Jul 07 16:07:08 is possible? Jul 07 16:09:02 Can I only access something with findViewById(R.id.someId) if I've done setContentView(R.layout.some_layout_that_includes_someId)? Jul 07 16:11:01 Never seemed that way to me, but if I'm to trust this answer http://stackoverflow.com/questions/19755282/unable-to-start-activity-componentinfo-java-lang-nullpointerexception that seems to be the case. Jul 07 16:16:55 how to insert a line? Jul 07 16:18:07 Syzygy__: yes Jul 07 16:19:03 So my code should crash every time if the xml file doesn't include the id? Jul 07 16:19:30 <_cypha> is there a way to rotate the content view of a Dialog after it's created/set? So as to rotate the views inside the dialog by 0, 90, 180, 270 degrees? Jul 07 16:21:07 JakeWharton, because it's not crashing for me at all, I only have a few crashes via hockey. Jul 07 16:21:25 findViewById will return null if the ID is missing Jul 07 16:21:45 hey everyone, what would be the best way to download an image file as an app asset? My app has logins. After logging in, the server distributes a logo associated with the group of the account that just logged in. I currently have an asynctask to save a stream to file (write ext storage permission), but this saves the photo to /storage/pictures. Jul 07 16:22:14 additionally, the asynctask only seems to be dling ~3-15kb of the jpg when the file is supposed to be 32kb (corrupted) Jul 07 16:23:14 hey guys, anybody here familiar with androind studio Jul 07 16:23:28 correction: after logging in, the server issues a filename. The app then appends the file name to a static url and that is where the file comes from Jul 07 16:23:57 Tux123: I'm using it, pretty sure others are as well. What is your question? Jul 07 16:24:27 I am trying to attach the Debugger of Android studio on My Device and setting breakpoints, but the breakpoint is not being caught Jul 07 16:24:41 and the app crashes sometimes, when attach the process Jul 07 16:24:52 Ah, Im sorry but I am not experienced with them. Best of luck. Jul 07 16:25:26 Okay.. Jesperhead.. do you know of any alternatives on how to debug ? Jul 07 16:25:52 Eh I mostly just Log.v everything and follow the breadcrumbs when something breaks Jul 07 16:26:17 Like print stack trace and use console stdout ? Jul 07 16:26:18 JakeWharton, and the ID must be defined in the layout I set with setContentView? Because I use an ID in my code that comes from some other xml file and it returns a valid ExpandableListView Jul 07 16:26:23 I use taht already :P Jul 07 16:27:43 Tux123: meh, that's all Ive had to use. I'm not working on anything too grandiose. Jul 07 16:28:25 Yeah me too, just small projects, but you never know when you got something big to do ;) Jul 07 16:28:40 my asynctask is only downloading part of a file from a url I give it. Any ideas why? Jul 07 16:28:42 If anybody else here was able to use the debugger on android studio, please email me on kopetepanda@gmail, i have spent 2 days trying to figure that out with no luck, cheers Jul 07 16:29:17 URL is valid, copied and pasted straight from Log.v Jul 07 16:31:58 <_cypha> is there a way to rotate the content view of a Dialog after it's created/set? So as to rotate the views inside the dialog by 0, 90, 180, 270 degrees? Jul 07 16:34:41 _cypha: what like as a joke? (ie australia mode) or do you mean when the device rotates? Jul 07 16:35:25 I'm desperate and have been stuck on this for far too long so I'm going to try here again -- http://pastebin.com/bvHrJqZq -- I have this code where I get a JSON array of a single mysql row and I want to put that in textview with setText, I know this has to go in onPostExecute for it to work but I dont know how to go about it Jul 07 16:35:35 <_cypha> when the device rotates it's handled automatically by android but I have android:configChanges="orientation|screenSize|keyboard|keyboardHidden" Jul 07 16:35:47 <_cypha> do the dialog is always facing one way (landscape Jul 07 16:36:04 <_cypha> cause I have forced landscape (don't want to change this) Jul 07 16:36:19 <_cypha> so I want to rotate just the dialog based on the device orientation. But only the dialog Jul 07 16:36:38 _cypha: oof, good luck. thats a little too thick for me Jul 07 16:36:48 Tolgon: reviewing your code. Used asynctask a few times Jul 07 16:37:00 errr... json arrays as well Jul 07 16:37:29 ty, its mostly from a tutorial that I am learning from but I am making changes to it to learn Jul 07 16:37:37 but it's not working out well Jul 07 16:37:44 Tolgon: are all of your logs firing correctly? Jul 07 16:38:02 http://puu.sh/a0JHr/3f7115d76a.png Jul 07 16:38:14 I get the JSON array for the id I want Jul 07 16:38:24 oh ok thats good Jul 07 16:38:24 I just have problem setting it to a textview Jul 07 16:38:42 sounds like a simple json parsing issue? Set the array element to a string? Jul 07 16:39:02 then use that string with setText Jul 07 16:40:00 We know you have the json array, so just pluck out the values you need, yes Jul 07 16:40:01 ? Jul 07 16:40:39 when using the camera intent i "sometimes" get this -> } to activity {com.jjlprocess.android.apps.tru/com.jjl.android.apps.trueserve.URLActivity}: java.lang.NullPointerException Jul 07 16:40:43 mnost of the time it works though Jul 07 16:40:50 isnt that what I have tried with my current code? Jul 07 16:40:56 for example Jul 07 16:41:01 Is it possible that an extra that is set before an activity is started, get's 'lost' and can't be retreived by the started activity with getIntent();? Jul 07 16:41:18 taskTitle.setText(task.getString(TAG_TITLE)); Jul 07 16:41:25 oh Jul 07 16:41:27 duh Jul 07 16:41:34 you do all that in onPostExecuter Jul 07 16:41:48 doInBackground is for background threads (downloads and suck) Jul 07 16:41:51 such* Jul 07 16:41:59 yes but when I move that there my whole code breaks so thats where I'm stuck Jul 07 16:42:03 I need advice Jul 07 16:42:11 pass the json array to onPostExecute Jul 07 16:42:14 and parse there Jul 07 16:42:23 all i can recommend Jul 07 16:43:06 yeah, that's what I've been trying :P Jul 07 16:44:44 protected Integer doInBackground(String... params) { Jul 07 16:45:42 in doInBackground, return the array Jul 07 16:46:00 then, protected void onPostExecute(JSONArray myArrayl) { Jul 07 16:51:03 Are there ways I can force onCreate except starting the specific activity? Jul 07 16:51:32 e.g. if I'm already on the activity. Jul 07 16:56:09 hey Jesperhead, now the progress dialog goes away, where it before used to last forever but I still get only blank textviews http://pastebin.com/TR4BY2Cx Jul 07 16:56:14 I made the changes you said Jul 07 16:57:18 Tolgon: is the asynctask only used for one activity? Jul 07 16:58:07 Tolgon: ignore. reviewing code Jul 07 16:58:58 hows the log looking? any traces being thrown? Jul 07 17:00:15 http://puu.sh/a0Nba/0699ef059f.png Jul 07 17:00:33 "No value for taskid", parsing error Jul 07 17:00:38 assuming that object is valid Jul 07 17:01:22 I have an app that plays music on the title screen. The music stops when the app is put in the background or the user transitions to a new screen. Before playing the music, I request audio focus. Given these circumstances (in particular, I don't play any music when my app is not in the foreground), it seems my app has no need to listen for audio focus changes. Am I correct? Jul 07 17:02:22 what does that mean Jesperhead Jul 07 17:03:29 Tolgon: I suspect the break is @ JSONArray taskObj = json.getJSONArray(TAG_TASKID); // JSON. Try to Log.v that and make sure it's output is coming out properly Jul 07 17:03:37 (in doInBackground) Jul 07 17:17:24 Hi, I'm using the Studio and I can use the wizard to make a hello world app just fine. However if I make the slightest change to strings.xml and try to run it, it yells at me about 'no resource found... "andoid:Theme.Holo"' what's going on? Jul 07 17:17:45 I don't understand why it builds until I change just a string Jul 07 17:18:54 if I undo the change it won't build either. once I touch and save the strings.xml it goes kaput Jul 07 17:28:24 Hi I’ve got an apk file on my mac…Is there an easy way to install this apk on my android phone by usb cable? Is it enough to send the *.apk to my phones sd card and install it from there? Jul 07 17:29:43 installing from sd card would work Jul 07 17:30:32 Zharf: Ok thanks :) Jul 07 17:31:00 ThKo: $ adb install file.apk Jul 07 17:31:29 can someone help me get the android dev bundle running on ubuntu 14.04 x64? Jul 07 17:31:33 flan3002: Ok so I’ve to install adb… Thank you :) Jul 07 17:31:43 You don't have to. Jul 07 17:31:54 But... I assumed you did, being in #android-dev. :) Jul 07 17:32:42 You can also just copy and install it with a file explorer, or even send it per mail (Base64 will expand the size by ~1/3 though) and install it then. Jul 07 17:32:53 Just make sure to activate unknown sources in the settings. Jul 07 17:34:39 Ok good :) Jul 07 17:41:53 my webview in an activity "reloads its content" when coming back from a camera intent ... can anyone recommend a solution to this? Jul 07 17:43:35 Hi, i want to integrate the Zxing barcode scanner into my application, but when i run normal app it has the name "Barcode Scanner" and not the real name. Jul 07 17:43:44 i want to use it as a library so that the hasn't to be the "external" app. my code: http://bpaste.net/show/eUglc54yDrLO5be8TFmp/ Jul 07 17:44:18 guh. why does my emulator choke on ?android:attr/actionBarSize? it's minSDK=14 Jul 07 17:44:40 matthias_: did you check the appName in the manifest? Jul 07 17:45:44 or rather the, android:label attribute of your application tag in AndroidManifest.xml Jul 07 17:46:13 niftynei: i cant find appName in my manifest file: http://bpaste.net/show/G9P9YhKg9idzv4lGfWzd/ Jul 07 17:46:51 matthias_: go find the app_name in your strings.xml file (should be in res/values/ directory) Jul 07 17:46:58 it Jul 07 17:47:19 it's L16 in your AndroidManifest.xml Jul 07 17:48:15 niftynei: sure, i see but in the string.xml file there's the right name Jul 07 17:48:35 niftynei: before i included the zxing thing it was normal and had the right name Jul 07 17:49:05 matthias_: it's possible that the zxing resources include a string called app_name. try changing the name of the string references to soemthing else Jul 07 17:49:08 like appName Jul 07 17:50:04 i'm writing an app that once started records audio in the background, saving it to disk, activities basically just need to be able to start and stop it, is this a suitable use for IntentService, or is that intended more for short-lived background jobs, i wasn't too sure Jul 07 17:51:02 matthias_: if that doesn't work, i hear burning a G1 in effigy has been known to solve strange resource problems ; ) Jul 07 17:51:32 niftynei: it is also installed under the wrong name and has the wrong theme, i selected the light one and it is black Jul 07 17:51:35 catphish: sure, but the key about intent services is you can only perform one task at a time (ie, if you need to more than one thread, don't use intent service, use a normal service) Jul 07 17:52:24 lasserix: this is what i was a little unclear on, can i have 2 different intent services (different classes) running at the same time, or does the app get a single queue for all of them? Jul 07 17:52:45 matthias_: huh. so it's swapping out the package name too... are you sure it's your app? ; ) Jul 07 17:52:59 sounds like a gradle / build problem. not sure i can give you much help there Jul 07 17:53:16 niftynei: it includes a tabbed view i added and a button to start the scan Jul 07 17:53:40 i'm not sure if i'll need additional background services or not, i'll think about it, the app is a fitness style app, once started it collects data in the background until stopped Jul 07 17:53:53 catphish i would a typical service Jul 07 17:54:15 since you want it to persist for some time, intent services (like you were asking) are typically used for single shot tasks that complete in a finite amount of time Jul 07 17:54:55 niftynei: i think i've found the error Jul 07 17:55:40 lasserix: that's the feeling i got about them, but i wasnt sure what people typically used, thanks Jul 07 17:57:10 is there anyway to prevent an activity being killed off (like when the camera activity is started) Jul 07 17:57:19 matthias_: cool Jul 07 17:57:55 activities should get put to sleep, see the lifecycle: http://developer.android.com/images/activity_lifecycle.png Jul 07 17:58:30 ie they will be "stopped" but not "destroyed" Jul 07 17:58:31 wellt eh webview in it i dont want reloading cause its the function inside the webview that calls the startactivityforresult anyways Jul 07 17:58:41 niftynei: i eclipse: i clicked on the project properties and then left on the android tab and then remove the referenze to the xzing app Jul 07 17:59:52 i don't know about that, i imagine the webview will get redrawn any time its put into the background but i'm not sure if you can prevent it Jul 07 18:00:12 nice find matthias_. eclipse can be beastly. Jul 07 18:00:16 people here know far more than i do anyway :) Jul 07 18:02:02 lasserix: am i right in thinking that if i start a regular service, it will by default run in the UI thread? i find that baffling Jul 07 18:02:21 yeah Jul 07 18:02:25 you can set the priority Jul 07 18:02:45 but usually you just start a thread or executor service on either onBind or onStartCommand depending on your use Jul 07 18:04:24 thanks, i'll read more about it, for some reason i find services really confusing at the moment Jul 07 18:08:00 services are just back ground processes, you can specify them to be in their own process space (to help against being killed) and set their priority (background/foreground). Services always get started on the UI thread. There are two main ways to start a service. A service can also be bound, where the service can return itself or an implementing class to a client (your activity) if you want to be able to call on service functions Jul 07 18:08:00 in the java run-time. Jul 07 18:08:44 They have a life cycle (simpler than activities, for the most part) and can auto-restart by returning the correct flag in the onStartCommand Jul 07 18:09:50 <_3mpty> guys I've non android question - someone tried using python-xmpp on osx? I'm trying to run server sample of GCM and I've no idea what xmpp google devs used... Jul 07 18:10:50 niftynei: i can't properly include the scanner into my project, so that the external app isn't needed Jul 07 18:13:59 matthias_: 'fraid i'm not much help on eclipse problems. may be worth another look at the directions on github? Jul 07 18:14:30 last i looked, i remember them having some complicated how to includes section on the barcode scanner project Jul 07 18:21:55 should i be using eclipse or android studio for the developer's training projects? Jul 07 18:24:47 Do any of you put your 9-patched images into the nodpi resource folder? Jul 07 18:24:48 hi guys Jul 07 18:24:54 when using sync adapters Jul 07 18:25:01 <_3mpty> MrMoozh: if you don't have experience with intelij and gradle start can be hard for android studio, but for me development for android in eclipse is dead :P Jul 07 18:25:10 does the code to upload to server goes inside of onPerformSync() ? Jul 07 18:25:27 jonc: only if they are density independent Jul 07 18:25:49 _3mpty, MrMoozh what he said. ill never use Eclipse again. but, at least when I started with Android Studio, there can be a learning curve and some irritations in the beginning Jul 07 18:26:26 <_3mpty> gradle is a bitch :P Jul 07 18:26:33 birbeck, yeah Jul 07 18:26:47 http://stackoverflow.com/questions/7346864/implement-androidsrc-drawable-image-programatically-in-android Jul 07 18:26:49 the problems i've been having just getting eclipse to run properly have made me prefer the android studio, but the tutorial relies on using eclipse and so i'm having trouble with getting the proper imports Jul 07 18:26:50 _3mpty id rather use Gradle than anything else though, haha Jul 07 18:26:51 no one has used sync adapter here? Jul 07 18:26:52 How can I do the same for button? Jul 07 18:27:05 I need to change the source of a button programatically Jul 07 18:27:13 <_3mpty> mattblang: same here, but diving in was awful Jul 07 18:27:22 _3mpty yeah Jul 07 18:27:46 Also has anyone set a style for a custom spinner backround and then not been able to open the spinner? Jul 07 18:28:16 you don't need to know gradle to follow the training tutorials Jul 07 18:28:44 so the webview only "refresh's after intent "camera" after several tries... could it be that the activity after a couple of times gets killed off by the system do to memory...? Jul 07 18:28:48 <_3mpty> anyway someone tried to run android studio on ramdisk? Something linke that is in my mind now. Jul 07 18:28:55 creating a new project in android studio will create a sufficient build.gradle Jul 07 18:29:03 <_3mpty> (ubuntu/debian ramdisk) Jul 07 18:38:00 Jesperhead hey buddy I fixed it thanks to your suggestions Jul 07 18:38:02 I owe you man Jul 07 18:38:28 Tolgon: Im glad to hear that. Im sorry im not the best at explaining. Jul 07 18:38:42 anyone got some nice resources on how to style a linearLayout? especially with many textviews Jul 07 18:44:28 I have a rooted device with an application that I need to backup the db. How would I do so? When I do adb shell, I can navigate to the databases dir in the app package, but I don't know how to pull it off the device Jul 07 18:45:54 adb pull Jul 07 18:45:58 Has anyone had issues with setting a spinner's background? Jul 07 18:46:15 I set it, but now the spinner will not open Jul 07 18:46:26 Will a too big icon always be scaled down correctly? how can I check in gimp what its sizes are? Jul 07 18:46:34 JesusFreke: It says my path on device isn't correct... but it is.. Jul 07 18:47:01 hey y`all, i want to start my app when power cable is plugged in (works already with powerReceiver Broadcast) i then want to unlock the screen and keep the device active. this works also with window/windowmanager/flags. i now want to keep the device active until power cable is disconnected EVEN when i leave my app. how do i do that? Jul 07 18:47:09 eghdk: try "adb root" first Jul 07 18:47:20 comblib: if you are using imageview, depends on what you set scaleType too Jul 07 18:47:23 Can I use a layer-list or some other xml drawable to color a white icon to another color? Jul 07 18:47:40 If your device/rom supports it, that should restart the adb daemon running as root, if it's not already Jul 07 18:47:51 JesusFreke: It says adbd cannot run as root on production builds Jul 07 18:48:06 eghdk: sounds like you have to copy the database somewhere else, and then pull it Jul 07 18:48:11 e.g. /sdcard or something Jul 07 18:48:30 eghdk: if you install es file exporer and grant user permission, you can manually navigate to the /database folder, copy the database, pate it in say downloads or pictures, and pull it all through GUI Jul 07 18:48:37 *grant root permission Jul 07 18:48:50 lasserix: Thanks. Will do that instead. Jul 07 18:49:19 or you can run adb from command line, doing adb shell then su then just normal copy method Jul 07 18:49:29 lasserix: thanks for your help, i understands now Jul 07 18:49:46 JesusFreke: My command is adb pull /data/data/com.example.myapp/databases/myapp_db /Users/eghdk/Desktop And the path is correct because I can "adb shell" and navigate to that file Jul 07 18:50:08 eghdk: _db, or .db? :) Jul 07 18:50:24 it said _db when I navigated to it Jul 07 18:50:31 lasserix: i mean just pointing to it in the manifest Jul 07 18:50:32 do you get a $ or # prompt? Jul 07 18:50:33 should I try myapp_db.db? Jul 07 18:50:45 does adb shell give me file extensions? Jul 07 18:50:55 yes. it won't hide extensions or anything Jul 07 18:51:02 I'm not great at terminal in the first place. but I'm deff not a complete noob at it. Jul 07 18:51:03 this ain't windows :) Jul 07 18:51:13 gotcha. thanks Jul 07 18:51:13 what is the actual error you're getting? Jul 07 18:52:38 JesusFreke: and lasserix If I grab the db from ES file explorer, then modify it on my computer, is it possible to go back and put the modified DB into that directory? Would I use es file explorer for that too? Jul 07 18:53:10 eghdk: never actually tried doing that, but you can't initialize a database that way on installing an apk Jul 07 18:53:28 do I have to create my on spinnerSelector if I create a background? Jul 07 18:53:49 lasserix: Okay. So back to step one. I'm trying to use es file explorer... but I can't find data/data/ Jul 07 18:54:02 to copy a database, you have to put in /assests or raw, read it out in a byte stream, and copy it into the /database folder in java run time manually, with the drawback that you'll always have duplicate data (since the original database file will set in assests and the active database will set in databases) Jul 07 18:54:12 eghdk: you have to turn on root mode Jul 07 18:54:18 its on the side menu slide out panel Jul 07 18:54:24 towards the button Jul 07 18:54:40 err Under Tools Jul 07 18:54:48 Tools > Root Explorer > On Jul 07 18:54:53 it is off by default Jul 07 18:56:01 Hi, I'm new to Android. I'm trying to edit the Android source to include some extra stuff. I've written a flex file to generate a tokenizer for me in C, I want to be able to call the C function from a Java method. I know I have to use some kind of native stuff. I'm trying to follow this guide: http://stackoverflow.com/a/5963294 but that guide is making us compile our C code for Win32, which I don't think is right for Android. Does anyon Jul 07 18:56:01 e have any tutorial/guides they can point me to for my specific work? Jul 07 18:56:19 lasserix: Thanks. appreciate it. Jul 07 18:56:43 eghdk: the best way to populate a database, is to send records from a server Jul 07 18:56:56 *if you are trying to "preload" a database for installed apk Jul 07 18:57:40 eghdk: you might find this useful, if you don't have a server accessable: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ Jul 07 18:57:58 anyone have success streaming just audio using the new ExoPlayer lib? Jul 07 18:59:09 <_3mpty> Vashy: check NDK guides on google pages Jul 07 18:59:37 <_3mpty> Vashy: flex is generating pure if i remember correctly so it shouldn't be a problem Jul 07 18:59:42 <_3mpty> pure C* Jul 07 19:01:41 <_3mpty> Vashy: if it's not a secret what kind of software are you writing? I'm asking just because I'm flex & bison fan :D Jul 07 19:10:38 can someone help me, if I need a pic for normal and large devices, which size should I choose here? http://www.123rf.com/photo_7077874_football-player-attack-gate-of-the-opponent--and-illustration.html?term=attack%20gate%20of%20the%20opponent Jul 07 19:12:32 comblib, the one that fits the resolution and size of the pic in your app. Jul 07 19:12:39 comblib: 1867 x 2246 px would most likely cover the most if you are asking for a full screen res Jul 07 19:13:01 But as Mavrik says, it depends on your ImageView Jul 07 19:13:14 just... Jul 07 19:13:20 for the love of everything thats holy Jul 07 19:13:28 DONT JUST THROW THE 2000px image in your appp!!!! Jul 07 19:14:29 Mavrik: what do you mean? Jul 07 19:14:37 it will be a full screen image Jul 07 19:14:40 and? Jul 07 19:14:52 DONT JUST THROW THE 2000px image in your appp!!!! Jul 07 19:14:56 yes. Jul 07 19:14:58 what should I do then? Jul 07 19:15:02 downscale it? Jul 07 19:15:11 resize it to the size you'll be showing it Jul 07 19:15:16 why isn't that obvious? Jul 07 19:15:42 showing too large image will burn your RAM, make your app start slow (it takes awhile to load and decode a huge image on phones) and it'll be pointless Jul 07 19:15:42 well what sizes should that be for normal and large? Jul 07 19:15:54 the ones your imageview / view is Jul 07 19:16:03 seriously. Jul 07 19:16:18 it's your app, you should know where are you putitng the image and how large the view it Jul 07 19:16:21 *is Jul 07 19:16:36 if you don't, you can't have pixel perfect image and it'll look blurry and crappy Jul 07 19:17:08 if necessary set a static size for your image view in dp, then provide images of the correct size for it Jul 07 19:18:50 but it depends on the phone right? there are buckets not exact sizes Jul 07 19:19:24 I just do view.setBackgroundResource( R.drawable.highkick );. Jul 07 19:19:25 comblib, mhm, that's why it's usually better to set a static size for the imageview - e.g. you make an image view of 1280dp x 720dp and center it on screen Jul 07 19:19:49 and what will happen on different sized devices, it gets stretched? Jul 07 19:19:53 comblib, and then you KNOW that you need a 1280x720 image for mdpi, 2560x1440 image for hdpi, etc. Jul 07 19:20:10 if you do it with setBackground it'll get stretched and blurry yes Jul 07 19:20:43 Hi all. Does anyone of a good/easy way to handle bug reporting that doesn't use the built-in marketplace feature? Jul 07 19:20:43 (note that average phone has screen size of about 640x360dp) Jul 07 19:20:54 comblib, to be honest you only really need to worry at max about ~300 dots per inch on a physical screen Jul 07 19:20:54 Before launch I'd like some people to test my app Jul 07 19:21:08 ThomQ, we had good success with Crashlytics and HockeyApp Jul 07 19:21:18 so use http://developer.android.com/reference/android/widget/ImageView.html instead? Jul 07 19:21:28 the phone that just released that is 2560x1440 or whatever is pretty much more than anyone will ever be able to physically see if they are holding their phone 1-2 feet away Jul 07 19:21:36 comblib, it doesn't matter what you use as long as you KNOW what size the view will be ;) Jul 07 19:22:01 but how can I know? excuse me if i am dumb. Jul 07 19:22:43 _3mpty sorry for going afk, I'm doing some work for my thesis so I guess it's kind of secret until it's published, but basically I'm doing some code injection detection work for SQLite, and I need a tokenizer for it Jul 07 19:22:55 also _3mpty, I thought the NDK was for Android apps and not the Android source itself? Jul 07 19:23:20 comblib, by setting the size manually... e.g. make a view that has layout_width of 600dp and layout_height of 340dp Jul 07 19:23:54 comblib, and then you know that means 600x340 image for mdpi, 1200x680 for xhdpi, 1800x1020 for xxhdpi etc. Jul 07 19:24:30 but then it wont cover the whole screen... Jul 07 19:24:41 of course it won't/ Jul 07 19:24:43 <_3mpty> Vashy: I think that NDK is just what you need, it's allowing doing C functions calls from java Jul 07 19:24:48 so it does not work Jul 07 19:24:50 because devices don't have same sized space and screen for your image. Jul 07 19:24:55 either crop the image to size Jul 07 19:25:03 or center it. Jul 07 19:25:35 so having full screen is not really possible without stretching? im fine with stretching I guess Jul 07 19:25:46 Android is to fragmented Jul 07 19:25:57 Vashy, Android uses Java JNI API to talk to native C libraries when required Jul 07 19:26:24 what is big enough for large screens? 1867 x 2246 px? Jul 07 19:26:27 so I should be looking at JNI tutorials and not NDK tutorials, right Mavrik? Jul 07 19:26:31 Vashy, so basically look for a JNI tutorial (The API is kinda aweful tho) and just make sure you compile your C code using NDK GCC with proper arch set Jul 07 19:26:36 Mavrik, thanks, i'll check those out Jul 07 19:26:46 Oh okay Jul 07 19:26:57 Vashy, NDK is just GCC configured for cross-compilation to ARM. Nothing magical about it. You can call the GCC in there directly if required. Jul 07 19:27:00 I also cannot get API8 simulators to work, I have downloaded API8 in the sdk, how do I check where eclipse looks for APIs? Jul 07 19:27:07 Mavrik:ty btw Jul 07 19:28:24 Vashy, the native code will be Linux .so libraries. You just have to make sure that 1.) You use proper headers on the C side (see tutorials) 2.) Your C library won't try to dynamically link to something else 3.) You call System.loadLibrary to load it :) Jul 07 19:28:50 Anything new on ListView drag&drop reordering? Jul 07 19:29:46 define new :) Jul 07 19:29:50 it's a bitch to work with :P Jul 07 19:30:12 I see, okay. I'll go look at some JNI tutorials, thanks Mavrik! Jul 07 19:30:49 Vashy, also a word of advice... compile your lib on desktop Linux first, make sure it works Jul 07 19:31:07 debugging crashing native code is pain in the ass on Android and getting stuff ironed out on desktop is way easier Jul 07 19:32:29 I have the Android source checked out to an Ubuntu VM, I only use the emulator that is provided to test things out, don't have a phone. (Sorry if I say anything incorrectly, I'm new to Android development and I'm just a student programmer) Jul 07 19:36:41 where to you report bugs in the android source code? Jul 07 19:36:50 <_3mpty> Vashy: try geny motion instead of emulator if it's not commercial project, it's just faster - vm based on virtual box Jul 07 19:43:10 pEYEd: b.android.com Jul 07 19:43:56 why does the debugger not show theLength as one of the variables (line 65) http://pastebin.com/WgKHyiHk? Jul 07 19:46:02 why does the debugger not show theLength as one of the variables (line 65) http://pastebin.com/WgKHyiHk ? Jul 07 19:47:37 is a 429kb png to big and will crash some phones? Jul 07 19:48:10 jamesson: you haven't gotten that far yet? Jul 07 19:48:41 <_3mpty> comblib: depends how it's big after decompression Jul 07 19:50:29 markmarkmark: no, I am at 65. Do I have to be past that? Jul 07 19:50:44 yes Jul 07 19:50:51 i believe you do Jul 07 19:51:10 markmarkmark: ok, ty Jul 07 19:51:33 comblib: its the uncompressed size that counts.. whats the png's width and height? Jul 07 19:52:07 so a to small image will always get stretched to fit? Jul 07 19:52:15 what? Jul 07 19:52:33 markmarkmark: good deal ty Jul 07 19:52:46 jamesson: np :) Jul 07 19:53:02 DallasG thank you! Jul 07 19:53:14 I also cannot get API8 simulators to work, I have downloaded API8 in the sdk, how do I check where eclipse looks for APIs? 7 Jul 07 19:54:29 markmarkmark: I really wish they hadnt used network debug, but when it is working its quite nice. Also they should document the fact that you need this kies to reset the driver when it goes bad Jul 07 20:07:12 is it possible for several apps to have the same name? Jul 07 20:09:13 <_3mpty> comblib: depends what do you mean by 'name', if you mean displayed one for user just check market: tons of duplicated names, so yes it's possible Jul 07 20:09:23 <_3mpty> apps should have different package name Jul 07 20:12:36 what happens if two apps have the same package name? Jul 07 20:14:54 MrMoozh: 2nd one either won't install (if it's signed differently) or overwrites the first one (if it's signed the same as well) Jul 07 20:15:19 <_3mpty> MrMoozh: also it should google play wide unique when you uploading it Jul 07 20:16:08 sarbs & _3mpty thanks Jul 07 20:16:12 how can I prevent a user from typing more than X signs in an edittext? Jul 07 20:16:37 comblib: .. are you trying to implement a password entry, you mean? Jul 07 20:16:49 <_3mpty> comblib: maxLength Jul 07 20:17:25 Hello, i've been having issues with AndroidHttpClient, where it seems to be cutting off my request for a very big file Jul 07 20:17:34 anyone have any experience on this? Jul 07 20:17:57 "TextWatcher" Jul 07 20:18:41 bacon1989: what's "very big"? Jul 07 20:19:02 sarbs: like a 3mb file expressed in the form of a base64 string Jul 07 20:19:13 damn, I ask about dev problem on #android.. ok once again Hi guys, I need asistance of someone with AndEngine experience Jul 07 20:19:15 it's cut off at around 2.5k characters before it's fully received Jul 07 20:19:21 and i'm getting a 200 status code Jul 07 20:19:21 so, what.. 4mb of data? i've done 4mb files all day long Jul 07 20:20:00 I have some issue with unloading texture, is here AndEngine expert? Jul 07 20:20:33 hmm... I wonder if it might be a different issue then Jul 07 20:20:43 you are using AndroidHttpClient sarbs? Jul 07 20:20:44 when you say it's cutting off your request, do you mean you're *sending* that 3mb of data in base64 to the server and that transmission is getting cut off, or the server is responding to you with 3mb of data in base64, and that response is getting cut off? Jul 07 20:21:08 the response is being cut off Jul 07 20:21:23 and i'm getting a status code of 200 Jul 07 20:21:24 bacon1989: i'm not, just trying to help clarify stuff Jul 07 20:21:53 hmm, it's a pretty odd problem, I can't determine if it's the server, or my client Jul 07 20:22:14 http status codes are sent before the actual content, so it's probable that your server is trying to send the entire response and something either in the network or on your client is truncating it Jul 07 20:22:42 status code is literally the first thing sent in an http response Jul 07 20:22:57 yeah, i've tried a weburl that shouldn't have caused any issues, and that is being truncated as well Jul 07 20:23:03 which is why I suspect the client Jul 07 20:23:12 good thinking Jul 07 20:23:19 paste up your code or example that repros to gist Jul 07 20:24:16 no one here is using andengine? Jul 07 20:25:36 sarbs: yeah, i'm going to throw together a good test case in a bit, I was hoping it was something someone else has run into Jul 07 20:26:07 i haven't, sorry. glad i could help clarify terminology if nothing else. gl Jul 07 20:30:54 weird, so someone at my office has one of the cheaper RCA tablets running Android 4.2.2. Our app is compatible back to API Level 10, but says not compatible to this tablet when I go to the Play store ilnk Jul 07 20:30:55 *link Jul 07 20:32:12 what would cuase that I wonder Jul 07 20:34:19 Does the manifest exclude certain devices or has hardware requirements the tablet doesn't meet? Jul 07 20:34:38 <_3mpty> kakazza: y Jul 07 20:34:51 dudi: have done Jul 07 20:35:15 comblib have done what? Jul 07 20:35:21 kakazza hmm, I have hardwareAcecelerated = true, I wonder if that will keep it from showing up Jul 07 20:36:15 Shouldn't, but could be. What about OpenGL, Bluetooth, SMS (or any other service only phone devices have) Jul 07 20:36:18 has powermock superceded mockito? Jul 07 20:36:56 kakazza android:glEsVersion="0x00020000" Jul 07 20:36:57 android:required="false" /> Jul 07 20:37:06 kakazza required on it is false though Jul 07 20:37:10 Ture Jul 07 20:37:13 True* Jul 07 20:37:38 explodes: It extends EasyMock, Mockito. Jul 07 20:38:48 EasyMock AND Mockito are then both required? Jul 07 20:39:32 how do you prevent people to install an app that runs in portrait mode only? Jul 07 20:39:54 explodes: Either or I think. Jul 07 20:40:08 <_3mpty> comblib: manifest entry, in each activity Jul 07 20:40:21 <_3mpty> 'orientation' if I remember correctly Jul 07 20:40:26 kakazza: thanks; i am having trouble finding the maven dependency tho; Jul 07 20:40:45 nevermind, must've been a typo Jul 07 20:40:47 <_3mpty> comblib: but you shouldn't do it if you don't really have to Jul 07 20:41:07 explodes: https://code.google.com/p/powermock/wiki/GettingStarted#Maven_setup Jul 07 20:41:11 Oh, ok Jul 07 20:43:28 _3mpty>: I formulated myself poorly. To be clear, if I set portrait in manifest people with landscape type phones cannot install? Jul 07 20:44:09 What are "landscape type phones"? Jul 07 20:44:15 tablets? Jul 07 20:44:16 tablets you mean? Jul 07 20:44:19 <_3mpty> there is no such thing Jul 07 20:44:22 And I don't think you can do that, you should just support both orientations. Jul 07 20:44:40 <_3mpty> tablet also have landscape and portrait Jul 07 20:44:48 <_3mpty> 'have' Jul 07 20:46:02 <_3mpty> lock only if your design requires it - currently I'm working for client who want port ios app almost 1:1 and it looks shitty, unusable in landscape so I had to lock it Jul 07 20:46:10 <_3mpty> but generally it's bad idea again Jul 07 20:46:19 https://www.google.com/search?q=lANDscape+slide+keyboards&rlz=1C1SAVG_enSE518SE518&es_sm=122&tbm=isch&imgil=t99lzl2H2gNUlM%253A%253Bhttps%253A%252F%252Fencrypted-tbn1.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcQAqBZJIrAh7x7W10zmk6Nj0263bUkWvI-a7FxAlhKWNX04EqI%253B640%253B512%253BCLsozpCcXSvswM%253Bhttp%25253A%25252F%25252Fphysicalkeyboardphones.blogspot.com%25252F2012%25252F06%25252F Jul 07 20:46:19 getting-sideways-landscape-slide-out.html&source=iu&usg=__vmXURcJvcHzHtaYMkaVp6smgU84%3D&sa=X&ei=Dge7U92JL6T_ywOeyIF4&ved=0CDgQ9QEwBA&biw=1093&bih=480 Jul 07 20:46:27 that kinf og phones Jul 07 20:46:39 kind of Jul 07 20:47:20 _3mpty: I will add landscape later but this is a world cup app and i got the idea way to late but I need to publish before it is over...I did it to learn but I would like to publish... Jul 07 20:47:40 <_3mpty> it's still has landscape and software keyboard Jul 07 20:47:43 i will then transform it to a general football app but I dont have time for landscape now, then I wont finish Jul 07 20:48:11 comblib: if the goal is just to publish, then just publish ;) those kinds of phones are almost nonexistent now. very small %age of userbase. Jul 07 20:49:16 i generally drop support for something requiring anything "weird" if it's <5% and on its way out Jul 07 20:49:16 So another day of trying to read a book and learn android. Jul 07 20:50:06 this is painful and interesting. I know if I can just endure all this learning I can get somewhere!!! Jul 07 20:51:14 RedEyedGirl: it's worth it Jul 07 20:54:39 wjhat the heck is "parameter1" used for? PowerMockito.doReturn(value).when(classUnderTest, "methodToMock", "parameter1"); Jul 07 20:59:34 anyone ever had a problem with a device not being compatible with your app even though it seems like it should be? (http://www.reddit.com/r/androiddev/comments/2a2z3o/rca_tablet_running_422_is_not_compatible_with_my/) Jul 07 21:04:50 Android wear heartbeat sensor: is there an sdk? Jul 07 21:08:31 is reading a file on the main thread a bad idea? depends on file size? Jul 07 21:08:52 comblib: you should always avoid it really Jul 07 21:08:55 a small read is probably OK in a non performance critical part Jul 07 21:09:07 But real world applications probably won't care. Jul 07 21:10:08 Estel: you mean usually it will be fine? Jul 07 21:10:29 I wish I had a really poor performance phone to test on... Jul 07 21:10:35 comblib: do it off the main thread. always :) Jul 07 21:10:41 it's trivial to write an AsyncTask to do that Jul 07 21:10:54 do you guys read your preferences off the main thread ? Jul 07 21:11:07 didn't think so. you'll be ok :) Jul 07 21:11:08 Oh never >___> Jul 07 21:11:21 g00s: i do, actually, but mine are stored in db Jul 07 21:11:34 not sharedprefs like i know you mean Jul 07 21:12:09 explodes: I don't know, but I guess it's the parameter for methodToMock() Jul 07 21:12:18 comblib there is a developer setting, that will flash the background of the screen red when you are doing too much on the main threadf Jul 07 21:12:46 google apps are always flashing red haha Jul 07 21:13:34 dev options -> monitoring -> string mode enabled Jul 07 21:14:25 strict mode you mean, ty Jul 07 21:14:35 Hey guys, what's the best way to implement a seamless first-time activity? Jul 07 21:15:06 well my phone is kind of strong, samsung s4 mini so just because it is not aproblem on mine... Jul 07 21:15:20 hey guys, so i have some png's that i used for the app icon, but inside those pngs there is a certain transparent area , that when on my android is filled - any ideas as to why?\ Jul 07 21:17:54 comblib almost universally, no writes on the main thread Jul 07 21:18:01 also no networking Jul 07 21:18:12 if you read a byte from a file in onCreate, its pretty harmless Jul 07 21:18:22 but you don't want to read 1000 rows from the db Jul 07 21:18:48 well I parse a 100kb json file. Jul 07 21:18:58 uhuh Jul 07 21:19:00 oh yeah, don't do that on the main thread Jul 07 21:19:04 maybe this will crash on some weak phones Jul 07 21:19:13 It's not about crashing Jul 07 21:19:18 comblib: no, android will kill it Jul 07 21:19:18 it's about being an awful user experience Jul 07 21:19:30 And ANR Jul 07 21:19:33 ^ Jul 07 21:19:37 yeah I guess i didnt notice cause my phone is fast Jul 07 21:19:51 so start a background thread? Jul 07 21:19:59 the first time i turned on my nexus 7, something ANR'd Jul 07 21:20:01 AsyncTask Jul 07 21:20:21 ANR? Jul 07 21:20:24 14:11 g00s: didn't think so. you'll be ok :) <--- bwaaa Jul 07 21:20:36 * sarbs sarbs is tophyr btw g00s Jul 07 21:20:38 comblib: new AsyncTask, read up on it. It allows to easly do stuff in background and then do a callback on UI thread Jul 07 21:20:44 sarbs i thought it was a small read, not parsing a 100kb json file ! Jul 07 21:20:47 not some COMPLETE random dick Jul 07 21:20:53 just a previously-talked-to random dick Jul 07 21:20:57 MrMoozh: application not responding Jul 07 21:21:08 but the main thread cannot proceed until the parsing is finished... Jul 07 21:21:31 comblib: then put up a spinner Jul 07 21:21:46 * indeterminate progressbar Jul 07 21:22:19 is it really a big risk android will kill it? Jul 07 21:22:25 Yes Jul 07 21:22:28 comblib: absolutely Jul 07 21:22:40 100kb isn't a *huge* read from disk (although i definitely wouldn't call it small) Jul 07 21:22:54 but parsing of 100kb of *json*.. is something i'd definitely call "huge" Jul 07 21:23:40 that's a pretty big chunk of json, as far as json chunks go. in addition, most json parsers are pretty slow. Jul 07 21:23:58 is there a way to make an app that makes function calls to the settings of phones Jul 07 21:24:04 settings features Jul 07 21:24:08 such as change the phone pin Jul 07 21:24:08 etc Jul 07 21:24:14 comblib: in any case, the effort to spawn a new thread is pretty minimal, there's no reason not to Jul 07 21:24:19 Anyway, can someone explain to me why I cant start an API 8 simulator when I have installed the API 8 sdk? Jul 07 21:24:21 ajoul: not without integrating your app into the rom Jul 07 21:24:42 ajoul: you can open up a settings screen, i believe, but you can't programmatically change the setting for the user Jul 07 21:24:43 sarbs, well not trying to directly access or change anything Jul 07 21:24:46 but interface it Jul 07 21:25:02 possibly change the way it looks Jul 07 21:25:05 comblib: what error do you get Jul 07 21:25:15 comblib, you need the emulator image, not the sdk Jul 07 21:25:15 comblib you also need an image Jul 07 21:25:29 ajoul: not sure exactly what you want but i'm gonna guess it's unlikely that you can do it solely as an app Jul 07 21:25:37 probably, grab the hx86 image, haxm, and enable gpu acceleration Jul 07 21:25:40 you definitely can't change the interface of the Settings app Jul 07 21:25:55 if that is still too slow, try genymotion :D Jul 07 21:26:02 what would it require to install the app as a rom Jul 07 21:26:07 from the user's perspective sarbs Jul 07 21:26:20 rooting the phone and re-flashing it Jul 07 21:26:36 ajoul: because I don't want apps to change my settings without me knowing Jul 07 21:26:40 aka, not very easy Jul 07 21:26:50 Oh wait, wrong question. Jul 07 21:26:54 nvmme >_> Jul 07 21:26:56 xposed Jul 07 21:27:01 is about all you can do Jul 07 21:27:06 so where are the images? Jul 07 21:27:12 in the sdk manager... Jul 07 21:27:46 ooh. no, they're not Jul 07 21:27:50 not for 8, at least. there's no image listed. Jul 07 21:27:55 under Android 2.2 API 8 i have sdk platform and samples, no image... Jul 07 21:28:01 oh yeah thats funny 'ISIS mobile wallet'; bad luck on choosing that name hehe Jul 07 21:28:02 neat, it's gone Jul 07 21:28:04 comblib: you might be SOL for an API 8 emulator Jul 07 21:28:08 api 8 isn't worth emulating anymore Jul 07 21:28:11 SOL? Jul 07 21:28:14 +1 pfn Jul 07 21:28:18 comblib: Shit Outta Luck Jul 07 21:28:42 OK, why? Jul 07 21:28:43 There's an image for API10. Do that. Jul 07 21:28:47 thats stupid Jul 07 21:28:49 because no one cares about api8 anymore Jul 07 21:29:09 i only have images for 17+ Jul 07 21:29:36 comblib: developing for api 8 is kinda like developing specifically for windows xp. it's not unfathomable that your app will get installed on it.. but it's a dead end Jul 07 21:29:41 Oh, you can access the older images if you tick Obsolete in the SDK manager Jul 07 21:30:36 Oh, the emulator images were included in the SDK for them too... Jul 07 21:31:00 obsolete doesnt change anything for me... Jul 07 21:32:48 if your app gets bad reviews and you remove it, is it traceable somehow? will the publisher get a bad review somehow to? Jul 07 21:33:01 i just want to get it out, if it crashes fine, ill do an update... Jul 07 21:34:58 comblib also the phones available when api 8 was out, really sucked hard Jul 07 21:35:24 yeah dude don't worry about api8 phones. seriously Jul 07 21:35:33 the CTS has evolved since that time Jul 07 21:35:51 they are 0.7% of phones in existence. Jul 07 21:35:51 my dad has one i want him to be able to play it :) Jul 07 21:35:59 i remember people were OOming on HTC because they made their input stream buffers like 1mb or something Jul 07 21:36:12 hmm Jul 07 21:36:13 there is probably a meme for that ... Jul 07 21:36:15 aww well that's kinda touching.. but just buy him a new phone, lol Jul 07 21:36:28 like "' why the hell did you guys have to change that at all?" Jul 07 21:36:33 The only reason to care about < 4.0 is if you're paid to do it... Jul 07 21:36:42 make your game a dollar, sell 300 installs, that buys him a nex5 heh Jul 07 21:37:02 Im wondering - how can I get a handle on a Thread that I started in my BroadcastReceiver and I need to access from another BroadcastReceiver? Jul 07 21:37:20 ironhalik: class field? Jul 07 21:38:05 sarbs: will it hold a reference to the same thread after the BroadcastReceiver is destroyed? Jul 07 21:38:24 yes. simple java stuff Jul 07 21:38:48 hmm Jul 07 21:38:53 thx, Ill try Jul 07 21:39:04 maybe I wont have to manage the thread via Pid :P Jul 07 21:39:29 oh god no lol. anywhere you store the pid, you can simply store the Thread Jul 07 21:40:03 not for nothing though.. why are you creating a thread in a BR? Jul 07 21:40:51 I need a short sleep that I can interrupt Jul 07 21:41:07 before things happen Jul 07 21:41:10 >.> Jul 07 21:41:35 eeeerrrrrrrrrrr Jul 07 21:41:49 i don't know exactly what you're doing, but that doesn't sound like the best way to accomplish it Jul 07 21:41:57 i still see 'Google Play Services for Froyo' in my sdk manager; who said it was missing ? Jul 07 21:42:50 maybe i'm confused nm Jul 07 21:43:50 although now that i'm thinking it through it's not the *worst* way i can imagine doing it, either. thread creation is simply expensive. i would suggest you look into Handler.postDelayed() Jul 07 21:43:52 sarbs: generally, in my BRs onReceive, I start a user predefined timer. The thing is, if another broadcast is received before the timer runs out, I want to interrupt it Jul 07 21:43:53 Estel: so basically have a between-fragment that just shows an indeterminate progressbar and then when finished proceed to the game? Jul 07 21:44:06 umm, maybe Jul 07 21:44:27 you can submit a Runnable to a handler with a "do this later" time, and then cancel it in the future if you want (as long as it hasn't executed yet, obviously) Jul 07 21:44:42 if i publish the app, could some of you test it? wait I guess it takes a while Jul 07 21:45:03 that'd eliminate the requirement of creating a separate thread, assuming whatever you're doing is ok to be on the main thread Jul 07 21:45:09 sarbs: and it wont get killed by mt BR hitting the end of onReceive? Jul 07 21:45:34 ironhalik: nah, the only things that go away at the end of onReceive are local variables that haven't been stored somewhere else Jul 07 21:45:56 oh, so that would explain why I can use class var :> Jul 07 21:46:00 with that method you'd want to keep a reference to the Handler you submitted the Runnable to, and the Runnable itself - you'll need both in order to cancel the Runnable Jul 07 21:46:07 ironhalik: exactly Jul 07 21:46:50 sarbs: thanks a lot, this should streamline a lot of stuff for me Jul 07 21:47:06 np. i'll gist something up to clarify what i mean, just a sec Jul 07 21:48:16 the parsing is absolutely instant on my samsung s4 mini...i go for it! rate my a fool all you want I will take your feedback and make it better then! Jul 07 21:49:15 comblib: any IO, networking, other potentially lenghty processes should be done outside the UI thread Jul 07 21:49:29 theres even AsyncTask class, just for that Jul 07 21:50:45 if a user has a slow phone, or the filesystem is not synced or something, the 100kb read will take longer and cause an ANR Jul 07 21:51:17 ok Jul 07 21:51:18 sarbs: dont bother with the gist - I think I can handle it from here :P Jul 07 21:51:27 unless you really want to :) Jul 07 21:51:35 haha laready like 90% done Jul 07 21:51:42 though i'm sure it's nothing you don't already get Jul 07 21:52:09 I didnt user Handler class yet Jul 07 21:52:28 and I thought BRs lifecycle is a bit different than it really is Jul 07 21:52:30 :> Jul 07 21:52:41 https://gist.github.com/tophyr/4166db8e23bdf8c97a9a Jul 07 21:53:07 BR's lifecycle doesn't really come into play much here, unless i'm misunderstanding things Jul 07 21:55:00 Dunno. Ill try your approach first and see what comes out of it Jul 07 21:55:10 Ill give you a shout if it works or not Jul 07 21:55:14 cool, lmk Jul 07 21:56:29 after updating my sdk zipalign was not found this worked yesteray, a y tips? Jul 07 22:08:00 comblib: make sure your gradle scripts use the latest versions of the build tools? Jul 07 22:09:51 package "'org.powermock:powermock-mockito-release-full:1.5.5'" adds jar "hamcrest-core-1.1" to my list of External Libraries. How do I write the "exclude" to remove that? exclude group: 'org.hamcrest', module: 'hamcrest-core' does not do it. Jul 07 22:09:58 (gradle question ^ ) Jul 07 22:10:54 explodes: that exclude statement needs to be inside a closure attached to the dependency Jul 07 22:11:01 it is Jul 07 22:12:26 paste it up.. i always fight with the syntax but that's definitely how you accomplish what you're looking for Jul 07 22:12:34 exclude group: 'org.mockito' works like a charm, but exclude group: 'org.hamcrest' does nothing and neither does module: 'core' Jul 07 22:12:55 oh ic Jul 07 22:13:00 what if your app requires networkign and it is not in the manifest, will you get an error then? Jul 07 22:13:22 maybe you're not referencing the module correctly? run dependencies to see how gradle refers to it Jul 07 22:13:49 "run dependencies" what does that mean Jul 07 22:13:50 comblib: if you try to do something taht you don't have permission for, you'll get a SecurityException and your app will likely crash Jul 07 22:13:56 Base64-encoded RSA public key to include in your binary. Please remove any spaces. <- what the hell, i need to do that?= Jul 07 22:14:02 the gradle command? Jul 07 22:14:14 explodes: ./gradlew assembleDebug:dependencies Jul 07 22:14:50 after updating my sdk zipalign was not found this worked yesteray, any tips? Jul 07 22:14:53 Project 'assembleDebug' not found in root project 'ProjectX' Jul 07 22:15:22 oh woiw Jul 07 22:15:27 that is a very helpful command Jul 07 22:16:27 ./gradlew :ProjectX:dependencies then, and it's wise to save the smartassery for after you've gotten the help you're asking for ;) Jul 07 22:18:33 uhhh that wasn't sarcasm Jul 07 22:18:40 it looks like exactly what I need. Jul 07 22:20:10 ok, well then i'll actually apologize to you for misreading :) glad to help Jul 07 22:20:16 so if i want to publish an app to google play, what should I do? I've uploaded the apk, all the images, completed everything and I can't find a publish button.... and if i click the top-right dropdown, nothing happens... Jul 07 22:21:22 why is dependencies such a hard problem, there is always some problem when downloading with eclipse... Jul 07 22:29:37 http://lpaste.net/107079 <- eclipse cant reolve dependencies, what can i do? reinstall everything? how teriblle... Jul 07 22:30:37 comblib use gradle and AndroidStudio :| Jul 07 22:30:47 well maybe in the future Jul 07 22:31:22 so I need to reinstall? :( Jul 07 22:33:39 reinstall what ? Jul 07 22:38:12 everything? eclipse and the android sdk Jul 07 22:39:07 reinstall what isn't working ? like, reinstalling craziness ? Jul 07 22:40:13 comblib: it sounds like Google App Engine Tools 3.6.0 is incompatible with ADT 22.6.2. see if there's an update for either (looks like ADT is already installed and GAE is trying to install, so i'd guess maybe there's an update for ADT) Jul 07 22:41:00 if there doesn't exist versions of ADT and GAE that are compatible with each other (unlikely i think, but it's eclipse.. definitely possible) then you're boned and can't have them both Jul 07 22:41:59 isnt andoird studio eclipse in the bottom? Jul 07 22:42:11 no Jul 07 22:42:24 I love and hate Eclipse. Often good enough but a lot of frustration and defineately not great. Jul 07 22:42:36 Android Studio is built on IntelliJ IDEA, Eclipse's competitor Jul 07 22:43:08 And IntelliJ doesnt have a lot of problems on its own? Jul 07 22:43:38 it does. intellij vs eclipse is a holy war just like android vs ios, windows vs mac vs linux, whatever Jul 07 22:44:28 what would life be without holy wars? Jul 07 22:44:41 android chose to base Studio on IntelliJ, i remember reading, because of the quick responsiveness of the IntelliJ team and the relative stagnation of Eclipse codebase Jul 07 22:45:17 stagnation could be a good thing... Jul 07 22:45:44 is IntelliJ faster? sometimes eclipse feels sluggish Jul 07 22:46:56 i think it's faster, but it's hard to compare. *builds* in studio largely seem *slower* to me, but that has a lot more to do with gradle and the fact that my project is ginormous, and gradle takes ~15 sec just to parse the damn build files Jul 07 22:47:15 comblib: both are java so... Jul 07 22:47:19 no. Jul 07 22:48:06 comblib: i largely agree with this guy. http://java.dzone.com/articles/why-idea-better-eclipse Jul 07 22:48:09 but still, I love intellij Jul 07 22:55:45 does eclipse install the android stuff in the same place? i install a new eclipse version and I use the old workspace, will that be a problem? Jul 07 22:57:24 omg effing god the filename is to long when unpacking eclipse, how can they do something like that!? Jul 07 23:01:35 ANyone want an hTC One X+? I have it up for auction on eBay Jul 07 23:02:30 I wonder if I can open a thread on this at the XDA forums Jul 07 23:46:11 where CDaniel: specs? Jul 07 23:46:24 i want a poor phone. Jul 07 23:46:41 http://www.gsmarena.com/htc_one_x+-4976.php Here you go Jul 07 23:52:53 is the dependency handling at least better in Android Studio? because eclipse makes my head explode right now Jul 07 23:53:00 No idea Jul 07 23:53:37 dependencies with gradle is cool Jul 07 23:58:02 What does status "Draft in prod" mean? is it not available on google play? Jul 07 23:59:53 is someone manually testing apps before they are approved? Jul 08 00:02:20 no Jul 08 00:02:59 comblib: did you hit the "publish now" button? Jul 08 00:03:08 top left corner :P Jul 08 00:05:27 do I have to enter a privacy policy url? what is that? Jul 08 00:05:27 <|0xD34D|> #comblib Jul 08 00:06:23 ? Jul 08 00:06:24 <|0xD34D|> #comblib Jul 08 00:06:24 <|0xD34D|> #comblib Jul 08 00:06:44 ? Jul 08 00:06:45 <|0xD34D|> #comblib Jul 08 00:06:46 <|0xD34D|> #comblib Jul 08 00:06:59 LibGDX vs Unity3D. I need a 3D Graphics LIbrary and I don't know which to use. Jul 08 00:06:59 <|0xD34D|> #viiralvx Jul 08 00:07:00 <|0xD34D|> #viiralvx Jul 08 00:07:23 he ran Jul 08 00:07:24 <|0xD34D|> #foxandxss Jul 08 00:07:26 <|0xD34D|> #foxandxss Jul 08 00:07:36 Sort of making a game, but don't have the assets, it's mainly going to be a 3D experience and I have never used a 3D graphics library before. Jul 08 00:07:36 <|0xD34D|> #viiralvx Jul 08 00:07:36 <|0xD34D|> #viiralvx Jul 08 00:07:47 SimonVT: there is a nice bot to say good bye Jul 08 00:07:48 <|0xD34D|> #foxandxss Jul 08 00:07:52 <|0xD34D|> #foxandxss Jul 08 00:08:25 Haha. Jul 08 00:08:25 <|0xD34D|> #*** Jul 08 00:08:27 <|0xD34D|> #ironhalik Jul 08 00:08:29 <|0xD34D|> #ironhalik Jul 08 00:08:31 <|0xD34D|> #comblib Jul 08 00:08:33 <|0xD34D|> #ironhalik Jul 08 00:08:35 K Jul 08 00:08:35 <|0xD34D|> #ironhalik Jul 08 00:08:37 <|0xD34D|> #sarbs Jul 08 00:08:37 That bot is ignored now. Jul 08 00:08:39 <|0xD34D|> #sarbs Jul 08 00:08:41 <|0xD34D|> #ironhalik Jul 08 00:08:43 <|0xD34D|> #ironhalik Jul 08 00:08:47 <|0xD34D|> #ironhalik Jul 08 00:08:48 or maybe g00s (if you have @) Jul 08 00:08:49 <|0xD34D|> #sarbs Jul 08 00:08:51 <|0xD34D|> #sarbs Jul 08 00:08:53 <|0xD34D|> #ironhalik Jul 08 00:08:55 <|0xD34D|> #ironhalik Jul 08 00:08:57 <|0xD34D|> #sarbs Jul 08 00:08:59 <|0xD34D|> #comblib Jul 08 00:09:01 <|0xD34D|> #jjnye Jul 08 00:09:03 <|0xD34D|> #explodes Jul 08 00:09:05 <|0xD34D|> #explodes Jul 08 00:09:07 <|0xD34D|> #sarbs Jul 08 00:09:09 <|0xD34D|> #explodes Jul 08 00:09:11 <|0xD34D|> #sarbs Jul 08 00:09:13 <|0xD34D|> #explodes Jul 08 00:09:15 <|0xD34D|> #sarbs Jul 08 00:09:54 ah, there is kroot too Jul 08 00:10:08 and canadiancow Jul 08 00:11:32 wat Jul 08 00:11:36 oh Jul 08 00:11:45 <|0xD34D|> client went crazy Jul 08 00:11:47 <|0xD34D|> sorry Jul 08 00:11:51 <|0xD34D|> hopefully it is resolved Jul 08 00:12:00 thank you mate Jul 08 00:12:11 no client does that, ever Jul 08 00:12:27 yeah feel free to just ping me if you need me :) Jul 08 00:12:45 great now he's messaging me ~_~ Jul 08 00:12:48 canadiancow: ya, I remember you being a cow, but not sure the nationality, I had to look the list :P Jul 08 00:13:05 "being a cow" Jul 08 00:13:06 -_- Jul 08 00:13:09 :P Jul 08 00:13:10 lol Jul 08 00:14:00 so te poor guy that was asking left Jul 08 00:18:55 How can I resize a pic to be exactly 512*512? Jul 08 00:19:14 photoshop always do the job Jul 08 00:19:15 photo editor Jul 08 00:19:17 or any pic editor Jul 08 00:19:30 gimp, how? Jul 08 00:19:48 smeagolsfoot google Jul 08 00:19:50 open it, there is a resize option for sure Jul 08 00:19:51 is your friend Jul 08 00:19:55 that too Jul 08 00:22:11 So which 3D Library do oyu all recommend . . ? Jul 08 00:26:16 but it has to be 512*512 it cant be 512*498 and gimp does let me make it exactly 512*512 Jul 08 00:27:14 well, if it is not exact Jul 08 00:27:20 you need to add some empty space Jul 08 00:27:26 to make it 512*512 Jul 08 00:27:35 or deform it Jul 08 00:27:58 >_> <_< Jul 08 00:31:20 You need to acknowledge that this application meets the Content Guidelines. Jul 08 00:31:20 You need to acknowledge that this application complies with US export laws. Jul 08 00:31:26 where do I do that? Jul 08 00:32:55 nm, finally. Jul 08 00:32:58 good night! Jul 08 00:33:02 nice channel! Jul 08 00:33:17 good luck with your apps, lets hope i dont take all your evenue Jul 08 00:33:20 revenue Jul 08 00:34:44 where can I find the download link for my app in the play store? Jul 08 00:36:39 ugh Jul 08 01:16:18 hi. what do I need to link with to get the stuff in sensors.h? Jul 08 01:16:47 sensor.h Jul 08 01:24:29 ok the answer was 'android', which I guess I wasn't linking with Jul 08 01:40:59 is it just my computer or is Android Studio slow/choppy as hell? Jul 08 02:05:12 now I need "android_getCpuFamily" Jul 08 02:32:09 Hi guys. I'm having some trouble. I got two activities. When I kill the process in Activity B, it restarts Activity A, thus creating a loop Jul 08 02:32:43 it does this three times. I've set flags on the intent to start Activity B from Activity A with intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_SINGLE_TOP); Jul 08 02:32:45 why are you killing the process Jul 08 02:33:45 it's a unhandled exceptiom Path. When an unknown exception occurs it starts the 2nd activity, shows a dialog, after which the process should be killed Jul 08 02:35:08 why should the process be killed Jul 08 02:36:34 because that seems like the logical thing to do. If it is an unhandled exceptiom, it would be a bit unfriendly having the user get stuck in a endless loop, by restarting activity A instead of totally closing the app Jul 08 02:37:22 hmmmm.. It seems that Acitivty A goes through OnCreate 3 times on it's own as well, without me forcing the error.. Jul 08 02:37:26 why isn't activity A handling its own exceptions Jul 08 02:38:14 it can start the error dialog activity then finish() itself Jul 08 02:39:05 Yeah, i want to spruce it up a bit as it were. Have a nice layout saying SORRY instead of just the dialog Jul 08 02:39:39 uh? Jul 08 02:40:44 you got a lot of questions :D Jul 08 02:47:07 but, any idea why killing the process would force the main acitvity to restart 3 times? Jul 08 02:59:02 bankai_au rxjava 0.19.4 **** ENDING LOGGING AT Tue Jul 08 02:59:58 2014