**** BEGIN LOGGING AT Mon Sep 16 02:59:59 2013 Sep 16 03:01:54 oops Sep 16 03:16:30 java.lang.RuntimeException: Unable to start activity ComponentInfo{net.bitwise.apps.clevertext/net.bitwise.apps.clevertext.MainActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class android.widget.ListView Sep 16 03:16:40 what is the minimum sdk required for google gcm? Sep 16 03:17:11 Bitwise, Sounds like a fun time Sep 16 03:19:00 Sonicadvance1, Idfk how to add a menu xD Sep 16 03:25:06 <^cheeky> if i setupListadapter(adapter ) in my onpostExecute() in my oncreate() of my listFragment .. is calling notifyDataSetChanged() in my doesnt update my view Sep 16 03:26:03 jasta: we didn't roll it as much as customize Google's Sep 16 03:34:23 <^cheeky> i tried seting the listadapter of the fragment .. in onattatch, onActivitycreated still .. nothing Sep 16 03:34:31 <^cheeky> could some one shed some light please Sep 16 03:36:32 I want a list of options, dynamically generated, with an on/off button next to each one. How can I do this? Sep 16 03:37:41 <^cheeky> Bitwise: ... you gonna use an activity ?? fragment ... Sep 16 03:38:58 <^cheeky> Bitwise: your layout for that activity/fragment is not being initiated ... i think Sep 16 03:39:33 ^cheeky, What? Sep 16 03:40:47 <^cheeky> your error Sep 16 03:40:56 I already figured that out. Sep 16 03:41:03 <^cheeky> i am sorry i did not read your previouse backlog Sep 16 03:41:07 <^cheeky> oh ok sorry Sep 16 03:42:23 I had an invalid attribute in the TextView tag Sep 16 03:45:02 <^cheeky> ahhh ok Sep 16 03:45:11 <^cheeky> yeah that woudl do it Sep 16 03:45:21 <^cheeky> you using eclipse or AS ? Sep 16 03:46:02 IntelliJ Sep 16 03:46:29 <^cheeky> oh nice Sep 16 03:47:48 <^cheeky> i dunno if its a good idea . i started to learn android development using android studio :/ rather than eclipse Sep 16 03:48:12 IntelliJ IDEA is the only IDE that has not pissed me off somehow. It's kind of strange. Sep 16 03:48:24 give it time ;) Sep 16 03:48:29 <^cheeky> I wish i knew about that earlier !!!!!!! Sep 16 03:48:44 It looks like AndroidStudio is the same as IntelliJ Sep 16 03:48:51 <^cheeky> i like eclipse tho .. but for android dev i am in <3 with AS Sep 16 03:48:57 The EAP did break the sbt plugin, but I forgive it for that because they've got a giant warning that says it might eat a kitten. Sep 16 03:49:17 nomnomnom Sep 16 03:49:21 Android Studio is a limited version of IntelliJ specifically for Android dev based on IntelliJ 13's EAP Sep 16 03:49:22 <^cheeky> ewwww thats gonna be all furrry !!!!! Sep 16 03:49:34 So it basically is IntelliJ, but with less stuff. Sep 16 03:49:45 <^cheeky> i absoloutely love it !!!! Sep 16 03:49:47 not really. afaik, nothing is cut out (compared with the community version) Sep 16 03:49:56 <^cheeky> i am just afraid i am getting spoilt by it :/ Sep 16 03:49:59 <^cheeky> :( Sep 16 03:50:13 Dunno, I haven't tried it, but my assumption is a large number of the plugins aren't included by default. Sep 16 03:50:26 yeah, maybe plugins Sep 16 03:50:35 but that's easy to fix, if needed :) Sep 16 03:50:42 Never really felt the need to actually download AS when I've already got IntelliJ. Sep 16 03:51:10 yea Sep 16 03:54:08 <^cheeky> man i wish i knew about IntelliJ prior Sep 16 03:54:10 <^cheeky> oh well Sep 16 03:54:14 <^cheeky> eating kittens now Sep 16 03:54:44 How can I create a dynamic list with two elements, text on the left and a on/off switch on the right. Sep 16 03:57:32 <^cheeky> LinearLayout Sep 16 04:00:48 <^cheeky> Bitwise: what do you mean dynamic ? Sep 16 04:01:07 ^cheeky, I want to load a list of the names of contacts. Sep 16 04:01:31 <^cheeky> ok ... Sep 16 04:01:38 <^cheeky> so whats the problem ? Sep 16 04:08:06 ^cheeky: I suspect the problem is "I don't know how to do that" Sep 16 04:09:49 <^cheeky> heh Sep 16 04:09:51 <^cheeky> ... Sep 16 04:09:54 <^cheeky> which part Sep 16 04:15:01 Has anyone in here used something like the IOIO board. I am trying to use the libaries and follow the examples, however, I need to pass a command from the UIThread (Main Activity) to the Looper thread that the IOIO creates. I can't seem to get it working using handlers like I have done with other situations. This is due to the fact that I do not know where to create the Handler (no run function in the looper class)??? Sep 16 04:17:02 epsilonorion_: you can directly specify the looper when creating the handler Sep 16 04:17:15 Instead of having to create it on the looper thread Sep 16 04:19:57 JesusFreke: I thought something like that could be done, but I can't find any example of doing it. I tried creating it in the looper class, but had no luck Sep 16 04:20:15 epsilonorion_: you pass the looper to the constructor of the handler Sep 16 04:20:29 http://developer.android.com/reference/android/os/Handler.html#Handler(android.os.Looper) Sep 16 04:22:34 JesusFreke, gotta hack intellij plug-ins to support As, maybe the manifest only Sep 16 04:22:58 but the majority of intellij plug-ins are not enabled to run on AS Sep 16 04:23:10 ah, ok Sep 16 04:23:14 didn't realize that Sep 16 04:23:17 JesusFreke: Thanks. I tried that, but it won't take the looper for IOIO since it is a special interface, extending IOIOLooper Sep 16 04:23:40 epsilonorion_: does IOIOLooper extend looper? Or does it contain a looper? Sep 16 04:23:52 If it contains a looper, can you get access to it? Sep 16 04:24:26 checking now Sep 16 04:24:56 looking at: http://www.java2s.com/Open-Source/Android-Open-Source-App/Development/AirCastingAndroidClient/ioio/lib/util/IOIOLooper.java.htm ... I don't think IOIOLooper has anything to do with Android's looper Sep 16 04:25:33 which means you won't be able to use Android's Handler with it Sep 16 04:29:29 Yeah, that is what I am seeing. I dug through IOIOLooper and IOIOActivity but had no luck. Sep 16 04:29:59 Does Android have any other way to pass an intent (or something similar) from the UI Thread to the IOIO "thread" Sep 16 04:30:54 It has nothing to do with Android at this point, it all depends on what the IOIOLooper supports Sep 16 04:32:24 It might be possible to create an Android Looper in the IOIOLooper and make it an actual Looper thread Sep 16 04:32:35 but that might also screw up other things Sep 16 04:32:52 I don't know enough about the architecture of this IOIO stuff to know :) Sep 16 04:34:44 no problem Sep 16 04:35:44 Hoped it may be more Android related. I will take a deeper look into the architecture and see what I can do Sep 16 04:45:28 so.. i'm a beginner at android/obj oriented prog. i'm trying to learn by doing simple things. i'm simply trying to do network request, then update a textview with the result. i've spent days trying to do just this.. what's the best way to handle this? Sep 16 04:46:11 do it faster Sep 16 04:46:18 ha! Sep 16 04:47:20 my first approach was to create a separate class that extends asynctask.. but i'm having trouble getting the response back to the main ui Sep 16 04:49:24 what's the actual problem ? Sep 16 04:50:51 well, its stuff i can google and eventually find the answer for. what i'm really asking is.. how would you write a simple app that simply made a network request and displayed the results on a textview Sep 16 04:51:23 as in.. is that the best approach? ie using a separate async task Sep 16 04:52:11 it just seems like there's so much involved to do such a simple thing Sep 16 04:52:56 depends what you're doing really, but for short downloads or feed grabs asynctask is fine Sep 16 04:53:40 but how do you update the textview if the textview is in a separate class? Sep 16 04:55:53 ^cheeky: I suspect the problem is "I don't know how to do that" Sep 16 04:55:57 Essentially, yes. Sep 16 04:59:01 use an inner class Sep 16 05:27:07 <^cheeky> is it good practice to always have inner or class .. created extending handlerThread for background tasks ? Sep 16 05:29:12 if it's used only inside the outer class - it's fine Sep 16 05:29:32 I always tend to create normal classes for such things though Sep 16 05:29:50 <^cheeky> sorry i should have been more specific Sep 16 05:30:05 <^cheeky> yeah i meant always create .. class for it Sep 16 06:30:26 trying to change the visibility of an ImageButton.... well more basic than that, i'm trying to initialize a variable to represent an image button.ImageButton imageButton = (ImageButton) findViewById(R.id.imageButton); Sep 16 06:31:03 R.id.imageButton has a non zero value... but when i try to findViewId at runtim it returns null Sep 16 06:33:34 supercell: well, there is no such view with that id in the content tree right now. Sep 16 06:33:47 you might be trying that call before setContentView(). Sep 16 06:34:30 ah yeah, I just stumbled across a stackoverflow talking about the scope etc and that.... vs Activity.findViewById Sep 16 06:34:31 thanks Sep 16 06:44:01 Halo all, I have a problem about EditText. Even I set the ellipsize to end, the EditText doesn't show "…" at the end when the text is too long. How can I have ellipsize at the end when the EditText is unfocus? Thanks Sep 16 07:05:34 reading about this blogging platform 'ghost' : For instance, the native installation has no provisions for commenting, as it’s intended more for publishing than discussion. Sep 16 07:05:39 phew, thats great - somebody gets it Sep 16 07:05:57 google+ might be cool if there were no comments Sep 16 07:06:18 hi g00s o/ Sep 16 07:06:27 hey hackkitten :) Sep 16 07:06:34 yeah, i kinda wish google+ would downgrade them or do a kind of slashdot style of only showing the highest ranking ones by default Sep 16 07:06:34 comments are often overrated, yes :3 Sep 16 07:06:51 I have noticed that no G+ search results ever show up in Google Sep 16 07:07:03 must mean there's no useful content on there :3 Sep 16 07:07:28 *sigh* Sep 16 07:07:48 we're waiting for jasta to be the first to put some useful content on google+ Sep 16 07:07:58 -whyareyoukeeping is throwing stackoverflowerror in proguard for a class it should definitely not be keeping but is Sep 16 07:08:01 I actually put interesting analyses on G+ Sep 16 07:08:04 but they don't show up either Sep 16 07:08:13 * hackkitten pats jasta Sep 16 07:08:26 * hackkitten got her NDK-based app to link and run without issues first try (o/ Sep 16 07:09:12 yay? :P Sep 16 07:09:18 I guess Sep 16 07:09:35 beats spending half a day debugging an issue only to find out I forgot one little config detail Sep 16 07:09:38 :P Sep 16 07:09:54 hackkitten trying out the ndk? the fun has just begun Sep 16 07:10:28 :) Sep 16 07:10:38 Don't try calling back in to the Java interface from a thread in the JNI. Tends to cause headaches :P Sep 16 07:10:46 wrote an OpenSL ES/DFT-based audio analysis thingy Sep 16 07:11:19 I think I'll switch to the C++/Qt-based framework for Android before trying anything serious like that :3 Sep 16 07:11:50 Sonicadvance1, meeh Sep 16 07:12:12 Sonicadvance1, just need to make sure you're using the jnienv for the correct thread Sep 16 07:12:18 yea Sep 16 07:12:27 Not impossible, just a headache Sep 16 07:37:09 g00s: the NDK is pretty fun once you have managed to bludgeon the JNI into doing what you demand from it :3 Sep 16 07:38:36 hackkitten, That's right Sep 16 07:39:13 it would be fun if instead of ndk we could just use renderscript... single binary, dynamic compilation for target, automatic use of neon if it's there Sep 16 07:39:29 but it sounds like it isn't designed for serious amounts of code Sep 16 07:40:09 heh yeah Sep 16 07:40:22 it'd be nice if you could just use straight C/C++ on Andriod Sep 16 07:40:24 Android* Sep 16 07:40:27 hello, what if /dev/qmi for? Sep 16 07:40:29 but one can dream~ Sep 16 07:40:38 hackkitten, should be possible with Qt for android Sep 16 07:40:39 NativeActivity is close Sep 16 07:40:40 *is Sep 16 07:41:05 BtbN: yeah, will look at that soon :) Sep 16 07:41:20 it'll be more mature with Qt 5.3, IIRC Sep 16 07:41:26 sure straight C/C++ is possible with some limitations. I've not tried a nativeactivity myself though Sep 16 07:41:43 er, Qt 5.2 I meant Sep 16 07:41:55 * hackkitten has been using so many Qt 5.x versions she's losing track :D Sep 16 07:42:08 I can't say I'm fond of the manual memory management implied by use of C++, or any of the complexity implied with it in general. Sep 16 07:42:16 'complexity'? Sep 16 07:42:17 hah Sep 16 07:42:26 * hackkitten is a 10+ year C++ programmer :P Sep 16 07:42:35 you never used Qt or modern C++, alankila Sep 16 07:42:42 I never catch myself thinking 'this would be so much easier with a GC...' ;) Sep 16 07:42:47 last time I saw it had like 4 different types of smart pointers and gcc spits out two pages of error messages for even the simplest mistakes. It's just not for me. Sep 16 07:42:48 One thing I found to be handy Sep 16 07:42:58 Is do the initial JNI stuff outside of Android Sep 16 07:43:11 Qt has its parent/child system which takes care of most memory issues, and for other things there are various smartpointers Sep 16 07:43:14 * hackkitten started programming in C++ using the command line Borland compiler Sep 16 07:43:20 yup, Qt makes it a snap Sep 16 07:43:30 else there is boost Sep 16 07:43:37 I just write a little non-Android Java class that does JNI stuff. Then I move it into Android. Sep 16 07:43:38 and hey, manual memory management isn't hard either Sep 16 07:43:39 no, there's C++11 Sep 16 07:43:42 it's just a 'delete' statement Sep 16 07:43:44 but when I do write C++ I write it exactly like it was java. It's just about manageable enough, just more verbose Sep 16 07:43:47 no need for boost for smartpointers anymore Sep 16 07:44:05 alankila: that's the issue, I guess. You treat C++ like it's Java. Sep 16 07:44:08 You can happily do that, just use smartpointers, and never direct ones Sep 16 07:44:11 There's not only the free() stuff needed with JNI, you have to clean up the JNI stuff too...lots of cleaning Sep 16 07:44:15 * hackkitten treats Java like the broken language it is :D Sep 16 07:44:35 Ologn: true enough. the GC isn't perfect either Sep 16 07:45:10 before Android 3.x bitmaps were also allocated natively, which meant that the GC would never clean them up Sep 16 07:45:10 JNI is the biggest mess i have ever seen Sep 16 07:45:14 heh Sep 16 07:45:16 go Java (o/ Sep 16 07:45:20 i prefer the way .NET/Mono handles stuff like that Sep 16 07:45:27 MSFT's JNI alternative was better Sep 16 07:45:31 the bitmap native GC was in 2.3, wasn't it? Sep 16 07:45:33 BtbN: you haven't seen SWIG. Sep 16 07:45:37 yes, alankila Sep 16 07:45:42 I had to debug it in a recent app Sep 16 07:45:45 jasta, hiding the mess doesn't make it any less messy Sep 16 07:45:47 Swig was fun Sep 16 07:45:50 * hackkitten smirks Sep 16 07:46:12 * alankila suggests that JNI is easy relative to e.g. trying to do bidirectional data communication in renderscript :-p Sep 16 07:46:23 :3 Sep 16 07:47:01 i seem to recall some glue libraries that basically automagically generate JNI. seems easy enough, but i cant remember the library's name now Sep 16 07:47:27 i pretty much just avoid broad trespasses into native code, though. Sep 16 07:47:33 Chainfire: where in the world can I download the supersu x86 su binary for intel? I can only find the arm binary. Sep 16 07:48:09 * hackkitten is a big fan now of just doing most logic in NDK, with the fluffy GUI stuff in Java :P Sep 16 07:48:21 though Qt on Android may be easier :o Sep 16 07:48:32 I actually have a qt application on android these days Sep 16 07:48:57 a customer sent a microsoft doc I wanted to read... was hard to find a viewer for it, but I eventually stumbled on coffice which began by downloading some 30 MB of Qt libraries with aid of some helper apk Sep 16 07:49:11 jasta, "javah -jni" generates some stuff for you Sep 16 07:49:22 nah it wasnt that Sep 16 07:49:38 couldn't show scandinavian characters and didn't exactly look like native anroid app but at least I was able to read the doc. So I guess Qt is probably soon a serious option for android development Sep 16 07:51:23 should probably look into how Qt sidesteps, if it sidesteps, any of the state-saving problems inherent on android Sep 16 07:53:17 If I need to rely on state I usually start up a Service and put it there... variables, objects, whatever Sep 16 07:53:26 It looks like it's not actually going to fix the architecture. Sep 16 07:54:08 the qt kit generates an activity and a glsurfaceview and my guess is that all events are just passed through to the native counterparts. Sep 16 08:02:40 how can i send the user to another activity but pop the last N activities off the "back" stack. Sep 16 08:03:08 or even better, replace the "back" stack Sep 16 08:03:24 currently i'm doing some hackery with startActivityForResult Sep 16 08:06:51 jedir0x, by starting a new task Sep 16 08:07:04 jedir0x, http://developer.android.com/guide/components/tasks-and-back-stack.html Sep 16 08:09:06 so i have A-B-C when C is done i want it to go to D, but the stack to look like: A->D Sep 16 08:09:38 so i have a stack of: A->B->C and when C is done i want it to go to D, but the stack to look like: A->D Sep 16 08:10:26 using startActivityForResult doesn't sound completely horrible to me. I thought about suggesting it. It's probably a bit of nasty plumbing though Sep 16 08:10:26 pragma- http://download.chainfire.eu/supersu ... inside the ZIP is an x86 folder Sep 16 08:11:58 alankila: it'd such if the resulting binary is that huge or requires a massive runtime... Sep 16 08:27:17 UNDAH DA SEA Sep 16 08:27:37 * jedir0x cues dancing fish Sep 16 08:31:26 * ^cheeky ques dancing lobsters and seaHorses Sep 16 08:33:44 jedir0x needs constant supervision ;) Sep 16 08:34:04 look at this stuff Sep 16 08:34:07 isn't it neat? Sep 16 08:34:14 would you think my collection's complete? Sep 16 08:34:19 wouldn't you think i'm a girl... Sep 16 08:34:23 a girl who has everything? Sep 16 08:35:06 hello, Sep 16 08:35:17 i need some help / advices Sep 16 08:35:58 i have some data in DB, and i want to refresh my db every 20 sec in background Sep 16 08:36:11 what is best idea to do such refresh / check ? Sep 16 08:36:24 :3 Sep 16 08:36:43 dejvid9: what kind of refresh? Sep 16 08:37:43 well my idea is to create reminder task, i have in database eg. event ID, event time, and event reminder ( 5 mins before event start-time ) Sep 16 08:37:56 i want my application to notify me 5 mins before this event Sep 16 08:41:34 ah okay Sep 16 08:41:43 sounds like a job for a timer instance Sep 16 08:42:26 help please its been a week and i cant launch my app because of our supports screen size tag Sep 16 08:43:23 because of what? Sep 16 08:45:25 dejvid9, that looks like a very wrong thing to do Sep 16 08:45:46 dejvid9, you'll destroy the battery by running update of db every 20 seconds Sep 16 08:45:56 ok Sep 16 08:45:57 Hello guys, what's the best way of displaying a long text / like terms and conditions in a view ? Sep 16 08:46:00 i understand Sep 16 08:46:06 so what would You preffer ? Sep 16 08:46:22 make two reminders Sep 16 08:46:39 another one 5 mins before reminder Sep 16 08:46:59 dejvid9, there's an AlarmManager system service that's meant to start your app on pre-set times Sep 16 08:47:26 dejvid9, what you do is read your database once (either when system boots if you want full background or when your app is running) and setup your notifies then Sep 16 08:47:41 and when the time comes the OS will wake your service up by waking an alarmreceiver Sep 16 08:47:49 ok Sep 16 08:48:12 but can I create my custom alert/alarm view by using AlarmManager ? Sep 16 08:48:32 i don't want to use android bulilt-in notification Sep 16 08:48:36 i want to have my own Sep 16 08:51:17 dejvid9, which part of "AlarmManager will wake your app up via receiver when the time comes" was not clear enough? :) Sep 16 08:51:32 it's just a way of scheduling your code to run. Sep 16 08:52:36 yeah, it's ok now :) i got it Sep 16 08:52:42 thank You guys :) Sep 16 08:54:15 i have 3 images that are hex shape, and i added each in an imageview and in a RelativeLayout, (one overlaping another); so how can i make sure only the imageview area is clickable? Sep 16 08:56:39 override onClick, determine position of click - make sure it's within your bounds Sep 16 08:58:19 approximate the shape by circle Sep 16 08:58:25 it's close enough. Sep 16 09:09:56 jedir0x: but imageviews will be expanded upon bigger devices/screens Sep 16 09:10:19 do the math to scale it Sep 16 09:11:07 guys of leadbolt ads, new release 6.0 is published Sep 16 09:11:12 Hey guys, anyone here done twitter integration before? Sep 16 09:11:30 fix your apps ASAP Sep 16 09:11:47 jedir0x: ok i will try that. but can i user onTouch method as well? Sep 16 09:14:06 I am trying to create an arc seek bar. Sep 16 09:14:11 It's more tiresome than I expected Sep 16 09:19:08 omid8bimo, yes, onTouch would probably work as well Sep 16 09:19:24 ok, off to bed for me Sep 16 09:19:27 TTFN Sep 16 09:42:52 hi Sep 16 09:47:33 i keep seeing gradle updates on sat / sun. is xavd working long hours :P Sep 16 09:49:40 six weeks later and it's release time again @mozilla Sep 16 09:50:21 * capella knows how much g00s enjoys that :P Sep 16 09:51:05 hey capella Sep 16 09:51:12 mobile or desktop ? Sep 16 09:51:28 both - we push all @ the same time Sep 16 09:51:33 woohoo Sep 16 09:51:49 hahaha - heeeeeeeeeeeeeeeeeere we go ! Sep 16 09:52:57 how can i learn how to program for android? Sep 16 09:53:14 start writing android apps Sep 16 09:53:16 Leo145 whats your background ? Sep 16 09:54:50 ) Sep 16 09:55:28 c++ and event driven graphical programming using qt, and java in intermediate level. Sep 16 09:55:48 sounds cool Sep 16 09:56:18 you should be able to pick up android easily then Sep 16 09:57:32 i've downloaded android-sdk, but i don't know how to use it? is there a documentation or learning source? Sep 16 09:57:55 developer.android.com has everything you need Sep 16 09:58:34 > develop > training Sep 16 09:58:53 capella btw, since ff23 that event bug was fixed ; can use d.android.com with FF now Sep 16 09:59:03 > tools > exploring the sdk Sep 16 09:59:44 g00s ! Awesome ! still got the bug#? I tool me off the cc: list Sep 16 09:59:51 if I want to pass multiple values to an async task (different types) is it better to alter the signature for accepting objects as parameter or simply pass a bundle? Sep 16 09:59:57 capella i'll have to find it Sep 16 09:59:59 thanks Sep 16 10:00:10 meh - no biggie Sep 16 10:00:37 g00s just remembered I openned it - simple search for me to locate it Sep 16 10:00:39 though sometimes i cant find stuff clicking around the developer site, the menu seems a bit weird... i need to search on google and will take me to the right page on the developer site Sep 16 10:00:49 capella :) Sep 16 10:01:05 occ try using the docs offline Sep 16 10:01:12 broken links Sep 16 10:01:18 total suck ass Sep 16 10:01:58 i didnt know you could view the docs offline Sep 16 10:04:07 mmm bug still open ... something else fixed it by accident Sep 16 10:27:38 capella is the changelog for ff24 online yet ? Sep 16 10:28:02 mmm ... lemme dig Sep 16 10:36:40 g00s I found this - still calling it beta until couple more days Sep 16 10:36:44 https://www.mozilla.org/en-US/firefox/24.0/releasenotes/ Sep 16 10:36:53 capella cool, thanks Sep 16 10:37:51 'close tabs to the right' … wut Sep 16 10:40:08 oh heh never noticed that Sep 16 10:45:47 Hi all, I have to create a web page with a facebook login. When I go to the page on an android device, it can use the active account in the browser (if logged in before). Is it also possible to get the account from the native app? Sep 16 10:52:52 <^cheeky> if i am implementing a listFragment with images in a custime list_item layout and custome adapter .. do i need to recycle the bitmap images created from the downloaded links /.? Sep 16 11:06:23 ^cheeky, That depends if you think the number of bitmaps * resolution of each it going to take a lot of memory Sep 16 11:07:09 the recycling is automatic provided it is possible to do at all though. Sep 16 11:07:32 so strictly speaking no, the call to recycle is optional if the bitmap object itself is collectable. Sep 16 11:08:30 alankila, but the bitmaps need to be weak referenced to be GCed? Sep 16 11:09:42 Hello guys, what's the best way of storing a long text / like terms and conditions? Sep 16 11:10:02 Put it into strings.xml? Sep 16 11:10:18 weak or unreferenced Sep 16 11:10:32 or make a terms.xml with just that string, if you want. Sep 16 11:17:03 <\0x90\> ok this might be dumb question but anyone have any idea how to... or is there a way to 'save' nullpointexceptions that happen in application. Sep 16 11:17:34 <\0x90\> the thing is i'm getting crashes on my app in environments where i don't have logcat or similar. i don't know why it crashes because i can't see the error message Sep 16 11:17:48 ACRA Sep 16 11:18:26 <\0x90\> kakazza, is that a reply to my question ? Sep 16 11:19:56 Yes Sep 16 11:20:23 <\0x90\> oh i see. Sep 16 11:20:28 <\0x90\> cool. cheers.. Sep 16 11:21:38 You're welcome. Sep 16 11:55:25 Hi guys, what would you use to dynamically do some action when you type something into EditText .. so like you have text IN editText already, and as you type you rewrite the text, and if the char isnt equal to what next char in editText make it red colored. Sep 16 11:56:29 something like dynamic correction of text in EditText, but my problem still is, when you cick on EditText to type something, it will change acritivty to ::typing:: activity, and then when you push 'back' its in EditText \ Sep 16 11:57:29 how to remove this activity, i have it on Wildfire S Sep 16 12:01:03 hi with stuff like action bar icons, am i expected to have different sizes for each resolution? Sep 16 12:08:07 sylon: Yes Sep 16 12:08:25 But also no. Not each resolution. Each Pixel Density Sep 16 12:08:43 The docs recommend having mdpi, hdpi, xhdpi. If you're feeling up to it, xxhdpi. Sep 16 12:08:47 ldpi is usually left out. Sep 16 12:13:40 anyone can help with this? http://stackoverflow.com/questions/18827764/android-custom-shape-button-or-imageview-hit-area Sep 16 12:20:25 why is it so hard to do this actionbar ActionView? should i be using actionbarsherlock even if i dont want to support < ICS? Sep 16 12:21:18 omid8bimo: try this solution? http://stackoverflow.com/questions/13861416/android-custom-shape-button Sep 16 12:22:03 sylon: ABS uses the native Actionbar on ICS and above. Sep 16 12:22:09 It's not a standalone implementation. Sep 16 12:22:24 but does it make it easier to use than stock? Sep 16 12:22:45 i have been trying to do this: http://developer.android.com/guide/topics/ui/actionbar.html#ActionView Sep 16 12:23:13 Hello there! I'm implementing a ListAdapterFilter. Now, everything works, but when I remove characters from my filter query; the original results are overwritten. This is logical; because I explicitly overwrite it. What would be the best solution for this? Sep 16 12:23:17 Store a deep copy of my array list? Sep 16 12:23:54 sylon: It has pretty much the same API as the native one. Sep 16 12:25:45 ok cool Sep 16 12:26:32 Meaning, you should not use it, if you're targetting API 14+ Sep 16 12:26:36 i am wondering how android developers write the non UI related code? do they get the UI working first? or do they use JUnit tests and code it in a library project? whats the best way Sep 16 12:32:10 mmathis: tried that, didnt work Sep 16 12:32:41 :( Sep 16 12:34:40 mmathis: problem is, still half of the green for example is considered as yellow. Sep 16 12:34:54 since still they are a rectangle button or imageview Sep 16 12:36:05 mmathis: by the way, if i use imageview or button, what should put instead of getPixel in that sample? Sep 16 12:38:12 i dunno :/ Sep 16 12:38:25 I was just hoping I had happened to find something different in Google than you did. Sep 16 12:38:44 mmathis: :) thanks anyway Sep 16 12:54:51 According to updating an app in the playstore with the intention of splitting it, i have the following setup: 1 APK minSDK=10, Version 2. Now i want to split it in two APKS , one for pre 4.0 and post-equal 4.0: PRE: minSDK=10, Version 2.1 POST: mindSDK=14, Version 2.1 - The Post APK gets uploaded first, then the pre apk. Would that work or do I need to increase the post APK version code? Sep 16 12:55:10 *Regarding Sep 16 13:00:56 hello all Sep 16 13:01:37 I'm new to android development and I've noticed there are a few XML files involved. Where can I read up on what each is used for? Sep 16 13:02:45 You will most likely want to look into Android Resources Sep 16 13:03:33 jaynewstrom: ty Sep 16 13:04:08 And follow the official Android Training. Sep 16 13:04:13 They go over them in their lessons. Sep 16 13:04:21 I'm getting excessive line spacing in logcat output under Eclipse, anybody know how to make it less? Font and/or font size changes doesnæt seem to fix it. Sep 16 13:04:22 cool Sep 16 13:04:38 https://developer.android.com/training/index.html Sep 16 13:04:57 Click on the "Building your First App" Title. Sep 16 13:05:06 CAUTION: It involves reading. Sep 16 13:05:11 Some people are scared away by that. Sep 16 13:05:16 But we'll love you, if you do. Sep 16 13:05:24 kakazza: I think I can find a text to speech Sep 16 13:05:29 ;) Sep 16 13:05:33 kakazza: thanks again Sep 16 13:05:38 You're welcome. Sep 16 13:06:02 unless of course someone is willing to do my hobby projects for me?? Sep 16 13:06:04 :) Sep 16 13:06:20 I just sit here and complain and someone else does all the work? Sep 16 13:07:19 Shush! Go and read! Sep 16 13:07:47 lol np Sep 16 13:19:29 I have a searchview in my actionbar. When the search is activated and a user presses the up-button, the searchview collapses. How can I catch this event? Sep 16 13:20:41 oncloselistener seems to do the trick :) Sep 16 13:26:33 has something changed with admob this month? my requests / revenue has dropped insanely this month, doesn't resemble the trend for the last year at all Sep 16 13:35:05 Hey. Is anyone aware of an android "view" or library project which allows you to show a "What's new" type carousel with images and text? Sep 16 13:39:35 A viewpager? Sep 16 13:41:04 viewflipper Sep 16 13:41:27 I have a transparent view on top and I want it to not pass through touch events, is there a simple way to do it? Sep 16 13:43:40 hello Sep 16 13:43:44 why is the topic here representing android studio, anyway... Sep 16 13:43:45 oops Sep 16 13:45:00 I don't want to call for help each time I got a problem here, so are there some docs that help to debug your own application without getting general system trash in android studio? Sep 16 13:45:24 I greatly dislike android studio Sep 16 13:46:16 for logcat, run monitor externally Sep 16 13:46:42 Will logcat then monitor only my application? Sep 16 13:46:48 but I irc android studio filters logcat by app Sep 16 13:46:54 if you set it Sep 16 13:47:00 With the newest android studio update the integrated logcat seems to work well Sep 16 13:47:32 I updated to the newest but when I filter by errors I get some launcher errors not from my Application crashing for example.. Sep 16 13:48:08 There is a search at the top. just type your package name there Sep 16 13:49:29 thanks that filters it correctly - but still not a crash report like in many books described, I get only this: E/pkg﹕ pkg=com.example.onlinetest Sep 16 13:50:07 Am I even in the right place to search for the crash report? Sep 16 13:51:06 I'm not sure what you mean, using the external monitor tool might be better. But I like it integrated, that way I can click on line numbers and it jumps to the code Sep 16 13:53:26 Got it working now - thanks guys, you are always helping out. Sep 16 14:28:37 http://developer.android.com/training/implementing-navigation/lateral.html#horizontal-paging --> i cant get the sample code to run Sep 16 14:28:42 can someone help me please Sep 16 14:29:58 import android.support.v4.app.Fragment its giving me a warning right there Sep 16 14:30:20 i think i imported support properly to my eclipse... its all up to date and what not Sep 16 14:43:44 hey, i'm using androidstudio and want to change / refactor a private variable and make it global, is there a easy way ? Sep 16 14:45:44 Hi! I just realized that a BroadcastReceiver is shortlived. I'm registering one from my application MainActivity. Do I need to re-register it everytime it receives a onReceive message? Sep 16 14:46:00 lmbd, what's wrong with the refactor menu? Sep 16 14:46:55 which function should i use there ? Sep 16 14:48:17 Move...? Sep 16 14:50:15 try until one does what you need Sep 16 14:50:32 hey, what part of android is responsible for displaying the android logo? Sep 16 14:50:52 I have a fully functional frame buffer device node and can write it seeing things popping up on the screen Sep 16 14:51:18 I'd like to try to generate some simple graphics on it to see if they render correctly but without the overhead of all the android's components Sep 16 14:52:17 lamedude: which android logo, the animated one or the non-animated one? Sep 16 14:52:28 zinx: whichever Sep 16 14:52:31 surfaceflinger starts and is waiting on anon_inode eventfd with epoll_wait() Sep 16 14:52:36 lamedude: one is controlled by the bootloader and the kernel Sep 16 14:52:57 normally when I type in "start" it pops up Sep 16 14:53:00 but now I can't do it Sep 16 14:53:19 lamedude: writing to the framebuffer works, but you'd have to disable android's surfaceflinger from updating anything Sep 16 14:53:21 lamedude: the other is controlled by the 'bootsplash' program or something like that Sep 16 14:53:50 helo: I succeeded in writing random data to the fb but I'd like to see sth that makes sense if possible, sth simple such as the android logo Sep 16 14:54:13 zinx: I need to start it from the console with surfaceflinger in the background Sep 16 14:54:35 lamedude: why? Sep 16 14:54:56 I disabled hwcomposer, otherwise my surfaceflinger just crashes Sep 16 14:55:00 I can't start it with "start" Sep 16 14:55:06 it only works when I execute the binary Sep 16 14:55:22 ah, it's called bootanimation Sep 16 14:55:37 lamedude: but why do you need to start it at all? Sep 16 14:55:54 zinx: the frame buffer? Sep 16 14:56:01 tfu, the surfaceflinger? Sep 16 14:56:06 lamedude: as long as it's using rgb565 format, it should work Sep 16 14:56:07 lamedude: the boot animation. Sep 16 14:56:26 zinx: I want any piece of graphics on the screen Sep 16 14:56:32 lamedude: i see Sep 16 14:56:45 lamedude: bootanimation likely doesn't use the same stuff to output Sep 16 14:57:02 helo: is there any such image at hand? Sep 16 14:57:48 lamedude: in fact, i'm not sure anything uses the actual surfaceflinger directly apart from the framework, which also starts it in a specific way Sep 16 14:58:33 lamedude: you can 'dd if=/dev/fb0 of=/my/file bs=1200K count=1' Sep 16 14:58:44 to write the current screen's contents to /my/file Sep 16 14:58:47 lamedude: there's minui in recovery, which uses direct framebuffer access more or less Sep 16 14:59:00 helo: if=file of=/dev/fb0, I know that Sep 16 14:59:05 but I need the file that fits Sep 16 14:59:06 then you could 'cat /my/file > /dev/fb0' and it would display it Sep 16 14:59:22 helo: I did cat /dev/urandom > /dev/fb0 and it's generating output on the screen Sep 16 14:59:28 but I'd like to see sth that makes sense Sep 16 14:59:40 so make an image o_O Sep 16 15:00:32 Hi! I'm trying to set programmatically a StateListDrawable to a Button. The enabled state seems correctly assigned, but the pressed state does not apply. I defined it like this: m_drawableButtonStyle.addState(new int[] {android.R.attr.state_enabled, android.R.attr.state_pressed}, new BitmapDrawable(c.getResources(), bAlpha));. Is this correct? Sep 16 15:00:41 zinx: any fast way to accomplish this? I was hoping there's sth available e.g in the android's sources Sep 16 15:00:42 lamedude: you can convert with to565.c Sep 16 15:01:16 Hi, is it possible to add an icon to the notificationbar without making a notification? (must stay visible) Sep 16 15:01:59 lamedude: just save it in the proper format :/ Sep 16 15:02:33 lamedude: raw rgbx32 or xrgb32 or bgrx32 or xbgr32 or rgb565 le, whatever the hell your framebuffer is set to Sep 16 15:09:42 zinx: what image and with what tool? Sep 16 15:11:14 lamedude: any image, and any tool that can save/convert to a raw format, i.e. convert, gimp, ... Sep 16 15:15:07 I have a ViewPager in a fragment, all working fine. Sep 16 15:15:07 zinx: ok, I'll give it a try Sep 16 15:15:10 zinx: I'm no graphics person Sep 16 15:15:31 But you did stay at a holiday in last night, right? Sep 16 15:15:46 when I commit a new fragment, then go back to my viewpager fragment..the viewpager looses focus, it doesnt page anymore Sep 16 15:18:47 What's the difference between an Android facet and an Android-Gradle facet, and why can I not build my project with only an Android-Gradle facet? Sep 16 15:23:18 Nilium, yeah, I had a bug in custom proguard cache rules, oops Sep 16 15:23:27 Nilium, that'll be fixed in 1.0.4 Sep 16 15:26:24 how can i set the color of a listViews "unused" space? Sep 16 15:27:51 if it shows only few items, the rest of the space is used for showing the listviews background color. I want to not show this, but the parent background-color instead Sep 16 15:28:35 so that only the list items have the background I specified for the ListView Sep 16 15:29:31 skullcrasher: Immediate thought is to set the list items to the background you want, and set the listview background to what you want the non item area to look like so it can overlap Sep 16 15:29:48 * pfn twiddles thumbs while test cases run Sep 16 15:31:30 yiati: this works, but now it doesn't change the color of a selected item anymore :/ Sep 16 15:32:00 skullcrasher: Modify the state of the item when it's selected with a drawable Sep 16 15:32:40 i just look into that in the docus, thx Sep 16 15:34:24 Nilium, https://github.com/pfn/android-sdk-plugin/commit/2d578bd364646d80db55d6b42053650898881c29 Sep 16 15:37:39 hi! how can i export emulator's configuration, which is available after AOSP build? i need to run on exactly same configuration, standalone from AOSP environment Sep 16 15:40:21 is it possible to change the size of the action bar? Sep 16 15:44:25 yiati: for me works if I set listItem background color, and drawSelectorOnTop for the listview Sep 16 15:45:49 oh nvm, eclipse was leading me to believe that actionBarStyle wasn't actually a thing you could set in a style Sep 16 15:48:40 skullcrasher: You can use selectors, which allow you to define your own drawable. For example list_item_bg.xml with @drawable/normal_bg for normal state and @drawable/anything_else for other events. http://www.mkyong.com/android/android-imagebutton-selector-example/ Sep 16 15:49:55 but then i shouldn't specify a background for the list item (didn't work for me together) Sep 16 15:50:17 but for now it works as it should Sep 16 15:51:36 skullcrasher: If it works then that's good, if you were to go the selector route however you would specify a background for the list item which would be the name of the file containing the tag Sep 16 15:52:16 yes, i tried it too, but i guess I had the wrong statets overwritten with colors Sep 16 15:52:29 it didn't change anything Sep 16 16:03:39 clear Sep 16 16:03:42 hello Sep 16 16:05:12 i have got a strange behaviour, when i start my daemon into init.rc , it use about 90% cpu, when i start it using shell, it use about 2% Sep 16 16:05:25 any idea ? someone have ever seen somethin like that ? Sep 16 16:20:41 hi, i'm trying to develop an bluetooth based app Sep 16 16:21:21 and for testing i need a client for linux that can receive bluetooth massages from my phone, any one knows something like it? Sep 16 16:25:37 i have done a script to launch my daemon ... now it's ok :'( strange things Sep 16 16:30:24 hurdman: "Root/custom ROMs, head to #android-root" Sep 16 16:30:49 anyone here did an app with bluetooth support? Sep 16 16:43:02 hey, does anybody know what could be the problem with getting the source code of a webpage, even after I've set the "uses-permission Internet"? https://gist.github.com/anonymous/f96f5ffc5fc6824c95b1 this is my current code maybe it is something wrong with it. Sep 16 16:43:49 the whole virual machine thing for android apps doesn't it affect performance? Sep 16 16:44:29 how would I implement a "double tap to edit" function on a text view? Sep 16 16:44:57 or long press to edit Sep 16 16:51:29 yiati: ok ! Sep 16 17:09:43 damnit, hjow do I center-align an ImageSpan Sep 16 17:09:49 it only has BOTTOM and BASELINE :-/ Sep 16 17:14:22 why the hell intel emulator is bugged as hell? Sep 16 17:15:49 hi guys Sep 16 17:18:47 18:43 hey, does anybody know what could be the problem with getting the source code of a webpage, even after I've set the "uses-permission Internet"? https://gist.github.com/anonymous/f96f5ffc5fc6824c95b1 this is my current code maybe it is something wrong with it. Sep 16 17:18:50 i've got a question regarding drawing cache on views Sep 16 17:18:56 Could somebody please help me? ^^ Sep 16 17:19:52 what happened when you ran the code? Sep 16 17:21:12 cnox: you can't do net stuff on ui thread Sep 16 17:21:38 cnox: need to use asynctask Sep 16 17:23:41 i'm trying to implement dragging a view Sep 16 17:23:49 Is it legal to break someone's phone for pirating your app? Sep 16 17:23:54 so i create a touch listener for the view Sep 16 17:24:33 when i touch the view, i create a bitmap from the drawing cache of the view Sep 16 17:24:44 this part works fine Sep 16 17:25:08 later i change the text in the view and try drag the view. Sep 16 17:25:29 the problem is that i still get the old drawing cache Sep 16 17:25:40 even though the view has been updated Sep 16 17:25:41 zyngawow, I would say that you should be able to do anything within the realm of what the user has allowed via permissions. Sep 16 17:25:57 so i'll like to know, is there a way to update the drawing cache of a view in android ? Sep 16 17:26:30 jedir0x, so as average pirating user goes NEXT NEXT NEXT, I guess I could mostly do anything I wanted Sep 16 17:26:43 zyngawow, anything within the realm of your permissions. Sep 16 17:26:50 ie: "Full sdcard access" - erase it. Sep 16 17:27:03 that said, you better hope it only happens to people that pirate it. Sep 16 17:27:13 and also, you're a dick :) Sep 16 17:27:35 hahahaha Sep 16 17:37:59 if i use a separate instance of sqliteopenhelper in separate activities, will onCreate() only run when the first activity instantiates its sqliteopenhelper? Sep 16 17:39:02 bah... i should use a loader Sep 16 17:39:18 why do i feel iphone is for the rich and android for the poor!!! Sep 16 17:39:28 what Sep 16 17:39:58 why do I feel you're a troll? Sep 16 17:40:29 gdrc, it was just a frustration Sep 16 17:40:33 sorry Sep 16 17:40:40 wrong channel Sep 16 17:40:47 freely copyable software (android) is cheaper than proprietary stuff, so results in less expensive devices Sep 16 17:40:52 all i can say is.... those poor iphone users Sep 16 17:41:06 superlinux-hp, compare the prices Sep 16 17:41:19 less expensive devices will permit poorer users Sep 16 17:41:51 i just feel so bad for them... they bought some overpriced piece of crap you can't even dev on w.o shelling out more $ Sep 16 17:41:52 but that doesn't mean it's "for" poorer users... it's for everyone Sep 16 17:42:08 anyone has an idea? Sep 16 17:42:41 supercell i know lots of happy iOS devs, maybe you could clue them in Sep 16 17:42:49 iPhone only has high-end devices, android offers the full gamut. A brand new galaxy s4 (a high-end android device) costs just as much as an iPhone: http://www.att.com/shop/wireless/devices/samsung/galaxy-s-4-16gb-black-mist.html Sep 16 17:43:25 i was thinking about getting a moto x Sep 16 17:43:27 most cellphones are overpriced Sep 16 17:43:30 so if you're comparing "iphone to android" you've gotta do it right. Sep 16 17:43:32 in fact, lots of devs in here are in #iphonedev :) Sep 16 17:43:35 the Nexus series is one of the few that isn't Sep 16 17:43:40 mmmm working flip motion thing Sep 16 17:43:44 but they don't do sdcards or swappable batteries anymore Sep 16 17:43:50 i'm going to be developing this app in iOS after i finish Sep 16 17:44:01 my frustration comes from the fact that i cannot distribute my iphone app legally unless i put it on app store. ok.. i can put the iphone package on my website. but you knowe, by default, without jail-breaking you cannot install freely. Sep 16 17:44:08 not looking forward to having to use osx/xcode vs cli Sep 16 17:44:17 and my app is free. Sep 16 17:44:31 superlinux-hp: yeah, that is indeed a problem you won't have on Android Sep 16 17:45:04 Who downloads apps outside play store anyway Sep 16 17:45:13 SimonVT: me Sep 16 17:45:14 pirates and traitors Sep 16 17:45:18 Then I have to check a website for updates and all kinds of crap Sep 16 17:45:18 Do you think a strike should be made?! LOL! Sep 16 17:45:19 jk Sep 16 17:45:20 Too much hassle Sep 16 17:45:22 SimonVT: they're open source apps Sep 16 17:45:32 If it doesn't auto update, no want Sep 16 17:45:36 SimonVT: Transdroid, for example ;P Sep 16 17:45:40 my entire family uses iOS (iPad, iPhone, iPod, etc.) - I'm the only android user. I had 4 iPhones (starting from generation 1) - i just personally don't like iOS over android. Sep 16 17:45:48 cos they need us to run their phones, not otherwise. heh ;) Sep 16 17:46:15 http://www.transdroid.org/ <- that one, not the other one Sep 16 17:46:19 SimonVT, lots of people - do you not have the amazon app store installed? Sep 16 17:46:25 oh you want to create programs for people to use on our device? that'll be 100$ Sep 16 17:46:25 No Sep 16 17:46:40 SimonVT, you should install it - they have a daily free app\game. Sep 16 17:46:54 oh you want to dev from linux? not supported Sep 16 17:47:04 Yeah, 99% of them are crap anyway Sep 16 17:47:12 lol yeah, you can only develop iPhone apps on OS X, however you run it Sep 16 17:47:17 SimonVT, not really - more like 50% Sep 16 17:47:35 Crap I'm not going to use then Sep 16 17:47:41 you can develop for iOS on linux if you really want to. Sep 16 17:47:55 jedir0x: by running OS X in it? :/ Sep 16 17:48:00 no Sep 16 17:48:08 you can target the iPhone Sep 16 17:48:14 you still have to sign it with XCode though Sep 16 17:48:24 jedir0x: wasn't aware someone had ported the SDK to Linux Sep 16 17:48:25 I think I can live without that free useful $1 app twice a year Sep 16 17:48:38 jedir0x: still, it's illegal to distribute the SDK anyway Sep 16 17:49:02 http://stackoverflow.com/questions/1056426/iphone-app-development-on-ubuntu Sep 16 17:49:09 SimonVT: but iphone has the bestest apps, i hear Sep 16 17:49:19 you still need to compile it and sign it with XCode on OSX to get it into the app store though. Sep 16 17:49:45 also, lots of people buy phones for the quality of the camera; that has always been a strong point with apple stuff Sep 16 17:49:51 because i want tolearn iOS development, i bought the MacOSX DVD, then i put on VMware. Sep 16 17:50:14 superlinux-hp thats a pita :) Sep 16 17:50:16 now i have linux session i made only to run the OSX Sep 16 17:50:16 yeah like when they recalled the white iphones because of the camera Sep 16 17:50:17 I use my iphone for reddit ;d Sep 16 17:50:46 and i increased the RAM dedicated for the OSX Sep 16 17:50:48 so... how do I get ImageSpan not to screw over my textview's alignment? Sep 16 17:51:53 superlinux-hp: you know vmware (and other VMs like qemu / virtualbox) run in Windows too, yes? Sep 16 17:52:04 yes! Sep 16 17:52:25 but on linux you can shift more RAM into the VM Sep 16 17:52:34 in fact, the Android emulator uses qemu ;) Sep 16 17:52:44 zinx, i do know that. Sep 16 17:52:54 im currently mad at qemu Sep 16 17:53:03 superlinux-hp: hmm, strange, wonder why windows has limits on ram.. you know, nevermind, it's probably something stupid :P Sep 16 17:53:05 they changed their memory dump format in 1.6 Sep 16 17:53:19 now 32bit vms dump 64 bit elfs Sep 16 17:53:23 supercell: >_< Sep 16 17:53:40 supercell: there's no converter? Sep 16 17:53:53 but in VMware , OSX gets installed very smoothly . just set the unlocker, and install without ANY serious hacks on the OSX itself Sep 16 17:54:19 i just had to add 64bit support ;\ Sep 16 17:54:44 supercell: oh, you changed the processor? well, that can certainly cause problems w/ a memory image Sep 16 17:54:59 supercell: change it back, shut down, change it, boot :/ Sep 16 17:55:02 na i mean in my 3rd party app that was processing the resultant memory dump Sep 16 17:55:18 it use to dump 32bit vms as ELF32 but now it dumps them as ELF64 always Sep 16 17:55:23 but the heat! is offfff! like can reach 80 degrees Celsius easily Sep 16 17:55:39 superlinux-hp: fwiw virtualbox has presets for OS X VMs Sep 16 17:55:50 superlinux-hp: never cared to try it, but it generally works fairly well Sep 16 17:56:11 zinx, for OSX on vbox you still need hacks on the OSX DVD Sep 16 17:56:18 supercell: you can just edit the header :/ Sep 16 17:56:33 supercell: unless they do the holes via ELF64 i guess Sep 16 17:56:42 on vmware workstation, it just installs as if no vmware is there Sep 16 17:56:48 they do =/ and the elf64 bit header has 8 bytes of padding instead of 4 Sep 16 17:56:52 its just annoying Sep 16 17:56:55 superlinux-hp: hmm Sep 16 17:57:15 supercell: well, yes, the elf64 header uses 64-bit types, and the elf64 sections use 64-bit types as well Sep 16 17:57:25 zinx, look for the unlocker.. it will add you an entry for supported OS'es Sep 16 17:57:25 ;p Sep 16 17:57:36 an entry for OSX Sep 16 17:57:54 supercell wouldn't it be a while for android qemu to catch up to 1.6 :P Sep 16 17:58:02 should be safe for now, right ? Sep 16 17:58:19 yeah lol just happened on my dev env recently Sep 16 17:59:05 superlinux-hp: http://lifehacker.com/5938332/how-to-run-mac-os-x-on-any-windows-pc-using-virtualbox yeah, i guess vbox doesn't emulate whatever it is that OS X looks for to decide whether it's going to install or not Sep 16 17:59:54 what about osx86 Sep 16 18:00:01 who uses 32-bit anymore Sep 16 18:00:06 thats about the last time i looked into running mac =p Sep 16 18:01:39 man, I hate spinning disk, so damn slow Sep 16 18:05:15 anyone know what changed in gradle 0.5.7? nothing on the web site Sep 16 18:06:09 YO guys Sep 16 18:06:18 Macaruba Sep 16 18:06:20 oh maybe the lint support added to AS was also baked into gradle Sep 16 18:07:15 zinx, http://www.sysprobs.com/vmware-workstation-8-0-8-0-1-unlocker-to-run-mac-os-x-guest-in-windows-7/ Sep 16 18:07:27 Anyone in here developing on a Nexus 10 and experiencing performance issues with buffer uploading in OpenGL? Well, I've got an official ARM response xD Sep 16 18:09:52 Sonicadvance1: is it "ur dum"? Sep 16 18:10:01 noooooooooope Sep 16 18:10:20 http://forums.arm.com/index.php?/topic/17061-glmapbufferrange-overhead/page__gopid__42046#entry42046 :D Sep 16 18:14:34 "a future release" heh Sep 16 18:15:12 So I have a custom listview. I have a button in each item that should open a different AlertDialog for each item in the listview. How would I do this? Define the AlertDialog in the adapter? Sep 16 18:15:20 Yea, they're pretty cool guys Sep 16 18:17:38 Or should I perhaps use something other than AlertDialog? Sep 16 18:18:10 Moopz, DialogFragment is the way to go. Sep 16 18:18:19 @Moopz there was a nice tutorial on Vogella I came a long ago ... might help you out http://www.vogella.com/articles/AndroidListView/article.html Sep 16 18:19:43 jedir0x: What's the advantage of that over an AlertDialog? Sep 16 18:20:44 mutantkeyboard: I skimmed it and it doesn't seem to have anything related to this. Sep 16 18:21:34 Right, it was a blank shot, I thought it might be worth a try ;) Sep 16 18:22:02 mutantkeyboard: Thanks anyway though :) Sep 16 18:22:25 np Sep 16 18:22:42 thanks gdrc Sep 16 18:27:22 When did android switch bitmaps from being allocated in C to being allocated in java? Sep 16 18:30:16 jaynewstrom sometime around HC i think Sep 16 18:30:35 hello everyone Sep 16 18:30:44 ugh, android bitmaps are dumb Sep 16 18:30:57 yep Sep 16 18:32:46 hey there Sep 16 18:32:56 do you guys have knowledge about those modules Sep 16 18:33:07 SD,MM,PP), SAP ABAP, SAP HR Sep 16 18:33:11 anyone knowing achartengine? Sep 16 18:34:00 jaynewstrom i have it on authority the whole scheme caused engineers at adobe much grief ;) Sep 16 18:34:15 cnox: np Sep 16 18:34:46 haha! it has caused/is causing me much grief! Sep 16 18:35:05 guys does anyone have an experience with Intel's C++ compiler for Android @ http://www.shazam.com/ Sep 16 18:35:07 oops Sep 16 18:35:13 https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=1994&AccountID=&EmailID=&ProgramID=&RequestDt=&rm=COM&lang= Sep 16 18:35:57 do you guys know anything about this Sep 16 18:35:58 https://www.udemy.com/sap-abap-programming-for-beginners/ Sep 16 18:36:46 jaynewstrom this isn't my area, i could be totally wrong. but Bitmap takes a nio Buffer in the ctor, could you allocate a direct byte buffer (ButeByffer.allocateDirect()) and use that ? Sep 16 18:36:51 * g00s shows his ignorance Sep 16 18:36:54 Hello android-dev, I'm in a bit of a bind. Sep 16 18:37:10 BenOrnstin, Yes Sep 16 18:37:27 yeah, that seems like even more work. Sep 16 18:37:27 I'm working on an app with about 500 'subcategories', each with an associated image. Sep 16 18:37:46 Previously, I stored each of those images as resources, HOWEVER, I now want it to be updated by the backend Sep 16 18:37:57 I can't save them as resources dynamically Sep 16 18:38:15 mutantkeyboard, do you have a use-case for it Sep 16 18:38:24 jaynewstrom, what's your issue? Sep 16 18:38:28 But sticking them in a Gallery (custom Gallery/ not depricated Gallery) results in a delay, dispite caching Sep 16 18:38:35 Any ideas? Sep 16 18:38:39 BenOrnstin maybe this could help https://github.com/JakeWharton/DiskLruCache Sep 16 18:38:41 @Mavrik for what? Sep 16 18:38:43 running out of memory!!! Sep 16 18:38:50 mutantkeyboard, Intel's Android compiler Sep 16 18:38:53 g00s, I'm actually using that tool right now Sep 16 18:38:57 oh Sep 16 18:39:08 Nope ... just came across it today Sep 16 18:39:09 no one worked with achartengine chart library? Sep 16 18:39:20 i tried, it was too buggy :) Sep 16 18:39:21 I'm already sub sampling and recycling Sep 16 18:39:22 But there's still more of a delay then if I were to use just resources Sep 16 18:39:31 Maybe I should go with a spritesheet style solution Sep 16 18:39:45 jaynewstrom, asking for large heap? Sep 16 18:39:46 But that's only a halfbaked idea in my head Sep 16 18:39:56 so i know android studio is a bit of the bastard stepchild, but I'm ahving a weird issue w/ the layout editor. I drop a custom_foo_whatever.png in the drawable folders (l, h, m, h, xh in this case). It shows up in R. It shows up in the resource picker in android studio. It works on the device. but the android studio preview/gui editor says "can't convert drawable". Anyone encountered that? Sep 16 18:40:09 That's just a hack in the end. I shouldn't need it, if this would do what it's supposed to Sep 16 18:40:20 huh Sep 16 18:40:35 if you need alot of memory, then asking for large heap is what you're supposed to do :) Sep 16 18:40:41 If I've a listview of image that need to be catch from web, where should I use set my imageview? If I do in adapter, I have some issues Sep 16 18:41:43 dragorn: bastard stepchild? It's based on the best Java IDE for the last decade Sep 16 18:42:21 dragorn, try killing cache, the layout editor is buggy as hell Sep 16 18:42:22 JakeWharton: But every time someone asks about everyone hates it and says use eclipse :P Sep 16 18:42:32 dragorn, we all love IDEA Sep 16 18:42:34 Mavrik: What's the easiest way to do that? Sep 16 18:42:40 just… don't use the layout stuff, it's broken :P Sep 16 18:42:47 dragorn, there's an option in file menu ;) Sep 16 18:42:59 those people are wrong. and dumb. Sep 16 18:43:04 Mavrik: yup, see it now Sep 16 18:43:14 JakeWharton: I was bracing for the "dont' use AS" flak was all :P Sep 16 18:43:19 @JakeWharton yes, but I have hell of a problems with resource library everytime I try to do something useful ... finish up rebuilding a project from scratch ... it can be major P.I.T.A Sep 16 18:43:19 JakeWharton: I've got both; i prefer AS Sep 16 18:43:55 mutantkeyboard: file a bug then. the tools team isn't telepathic Sep 16 18:43:59 gdrc: you should set it in the adapter, and fetch the image in another thread. There are plenty of libraries that handle this for you like https://github.com/nostra13/Android-Universal-Image-Loader Sep 16 18:44:01 Mavrik: doh. yup, that was it. Sep 16 18:44:17 Mavrik: thanks. I'd done all the clearing at the project level, but not at the AS level Sep 16 18:44:30 anyone knows about sap abap Sep 16 18:45:06 dragorn, yeah, IDEA 13/ AS still has alot of glitches where clearing cache helps :) Sep 16 18:46:03 @JakeWharton and @Mavrik I might give it a try too ... thanks for advice Sep 16 18:48:00 dbro: I'm using Picasso but in getView findViewById returns null so I don't have a reference to my ImageView Sep 16 18:50:43 dbro: my mistake, I managed Sep 16 18:51:01 gdrc: awesome Sep 16 18:52:04 @JakeWharton and @Mavrik worked as charm... thanks for a tip Sep 16 18:53:28 i disabled the layout plugin from AS :P Sep 16 18:57:19 I need a little coaching. Sep 16 18:57:19 I want build something like that: Sep 16 18:57:19 https://de.wikipedia.org/wiki/Fu%C3%9Fball-Bundesliga_2012/13#Abschlusstabelle Sep 16 18:57:19 is it better to use a hashmap or a array to do that? Sep 16 18:58:41 dot8 depends on how you want to access it Sep 16 18:59:02 when you read that, do you want to find by 'Verein' most of the time ? Sep 16 18:59:04 my first try was a hashmap. but I have so many keys and values an I have no Idea, to put the keys together Sep 16 18:59:28 'so many' … how many ? Sep 16 19:00:48 dot8: definitely use hashmap O(n) access to any item and create class Team where specify fields SP, S, U, N, etc. Map Sep 16 19:00:49 ok, 18 keys with. but for each column x 18 Sep 16 19:03:19 for each Team you can create List of games won, lost, total, etc Sep 16 19:04:10 Hey guys, without much information, could anyone tell me why a call like this `int w = 640; int h = 480; Bitmap.createBitmap(w, h, Bitmap.Config.ARGB.8888);` would then make `w` and `h` -1 ? Sep 16 19:05:16 I do it like that: new HashMap(); and then map.put(e.getString("team_id"), 0); Sep 16 19:05:55 ac_slater, there would need to be more to it than just that. Sep 16 19:05:56 ac_slater: show full snippet Sep 16 19:06:08 ac_slater: probably this is scope problem Sep 16 19:06:31 zestu: that (calculate) works fine right now. Sep 16 19:07:54 zestu, Alright bud, one sec. I can promise it isnt a scope problem. I'll get you some more info so I dont waste your time Sep 16 19:08:12 @g00s, have you been using achartengine? or were you refering something else that was buggy? Sep 16 19:08:21 here is my code Sep 16 19:08:22 http://pastebin.com/dXADuLMK Sep 16 19:08:27 neire achartengine was buggy Sep 16 19:08:39 what alternative did you use? Sep 16 19:09:10 kinda having a bug to, or some bad code from me, but is was working fine until android 4.1.1 Sep 16 19:09:30 last i looked jjoe64 was decent if it meets your needs Sep 16 19:09:38 its very simple though Sep 16 19:09:55 you may be better off being inspired by jjoe64 and writing your own Sep 16 19:10:55 fackt is that i'm android noob :) Sep 16 19:11:13 i wrote an app that connects with a plc Sep 16 19:11:25 and i want to monitor some plc values :) Sep 16 19:11:33 when i return to my main activity with the back button or from the home screen, the tab selected is restored correctly. but if i use actionbarsherlock's setDisplayHomeHomeAsUpEnabled(true), it appears to reload the activity and loses its state Sep 16 19:11:34 jjoe64 should be fine then Sep 16 19:11:36 and i was glad i found a library :) Sep 16 19:11:42 now I have to merge the keys and I have no Idea how? Sep 16 19:11:49 tnx Sep 16 19:11:52 will give it a try :) Sep 16 19:12:01 neire let me know how ti works out :) Sep 16 19:12:25 neire i do some data logging / sensor stuff too; its hard being efficient in java when you have a lot Sep 16 19:13:15 ac_slater, give up on the snippet? Sep 16 19:13:17 btw. my Code is stupid? Sep 16 19:13:26 i figured it out Sep 16 19:13:34 timemage, yea. I figured it out. I guess I dont know enough yet to ask for help Sep 16 19:13:35 tought it would be more like c# Sep 16 19:13:43 ie - I should debug instead of ask you guys :p Sep 16 19:13:48 neire how did you decide to save the data? flat file ? Sep 16 19:13:51 ac_slater, what did it end up being? Sep 16 19:13:59 i don't save it Sep 16 19:14:02 for the moment Sep 16 19:14:08 it's saved in my plc Sep 16 19:14:18 so i create remote connection with plc in the field Sep 16 19:14:21 en read out the values Sep 16 19:14:37 but in future, i'd love to save them Sep 16 19:14:43 timemage, I noticed it sets width and hieght to -1 then immediately reset the vars to their correct values. Sep 16 19:15:03 hoping to find some .txt or .csv filewriter Sep 16 19:15:07 ac_slater: and ?? Sep 16 19:15:15 ac_slater, hmm. ok. "it" is the debugger? Sep 16 19:15:33 @g00s, what are you creating / testing? Sep 16 19:15:53 neire can't go into it much; weather data mostly Sep 16 19:16:22 neire btw, do you use mqtt to go from plc to android ? Sep 16 19:16:23 mine app to :) for agriculture purpose :) Sep 16 19:16:53 no, i'm plc programmer in belgium and there we use mostly siemens plc's Sep 16 19:17:08 and there is a free java lib, called libnodave for connecting with plc Sep 16 19:17:45 i believe its pretty basic but it does wat it has to do Sep 16 19:18:09 and reliable enough for home application Sep 16 19:18:15 hm Sep 16 19:18:59 in future i'd love to control my home with it to :) Sep 16 19:20:36 neire is the PLC loaded with deviceWise ? Sep 16 19:21:04 should navigating with the Up button not restore whatever tab was selected on the originating activity? Sep 16 19:21:22 neire: what PLCs do you use? Sep 16 19:21:30 S7-1200 from Siemens Sep 16 19:21:37 never heard of device wise Sep 16 19:21:51 hate siemens :D Sep 16 19:21:54 neire https://eb.automation.siemens.com/mall/en/in/Catalog/Products/10046816 Sep 16 19:22:00 lists MQTT Sep 16 19:22:12 you can have you'r reasons to hate it :D Sep 16 19:22:43 siemens is the apple of plc Sep 16 19:23:42 true fact :) Sep 16 19:23:52 but, 1200 is really cheap :) Sep 16 19:26:26 g00s, you're referring to other plc :) Sep 16 19:26:43 it looks like some aftermarket add-on or something Sep 16 19:26:57 not familiar with the ecosystem Sep 16 19:27:24 yea, its kinda an app for a communicationcard on the plc Sep 16 19:27:39 intresting to know :) Sep 16 19:29:28 but a plc and a free library will do frow watering the strawberries :p Sep 16 19:29:46 a cheap* Sep 16 19:30:00 why not an arduino or raspberry pi :) Sep 16 19:30:09 raspberry to water the strawberry :D Sep 16 19:30:33 wanted to do it with plc :) Sep 16 19:31:02 i was shure that i got result with plc :- Sep 16 19:31:06 i did what you are woking on about 20 years ago with a z80 hand-soldered to 4k rom, solenoids, and a mouse water dropper Sep 16 19:31:26 of course, it didn't have an IP address :D Sep 16 19:31:30 haha :D controlled by an android tab, /P Sep 16 19:31:46 i had a humidity sensor Sep 16 19:31:51 on / off :D Sep 16 19:32:23 for the strawberries i'm measuring the growinglight in the air Sep 16 19:32:27 and temp Sep 16 19:32:33 cool Sep 16 19:32:40 and on that base i'm controlling a pump Sep 16 19:32:46 and some valves :) Sep 16 19:33:09 but normally i should have some humidity sensors to, to be 100% correct Sep 16 19:33:13 so much fun Sep 16 19:33:31 but then i would cost me a lot of time to create a good algorithm Sep 16 19:33:54 and to measure the drain comming out of the strawberries, i bought a simple bucket rainmeter Sep 16 19:34:02 and got an inductive sensor Sep 16 19:34:14 and like that i can close the loop :) Sep 16 19:34:23 is mold a problem? Sep 16 19:34:31 strawberries are finicky i thought Sep 16 19:34:39 finicky? Sep 16 19:34:49 or maybe it was our raspberries that often had mold Sep 16 19:35:13 fresh air exchange fights mold Sep 16 19:35:21 they were outside Sep 16 19:35:50 controlled part is for hydroculture Sep 16 19:36:36 and havent seen mold before on the strawberries :) Sep 16 19:36:55 sometimes one that is against the plastic, covering the ground Sep 16 19:37:20 can i ask you another question? Sep 16 19:37:28 how do you create your android layouts? Sep 16 19:38:00 i'm kinda strugling with ugly ass linear layouts and so on that creates ugly ass app's :p Sep 16 19:40:48 neire take a look at the design guidelines, and then look at the iosched 2013 code for best practices Sep 16 19:40:56 is there a library method that can parse url strings like this, http://www.getahold.com/key/value/key2/value, I just want to value of "key" Sep 16 19:42:43 what has to be in place of key? Sep 16 19:42:47 a number? Sep 16 19:43:37 no just a string Sep 16 19:44:00 and always same link with other key? or various links? Sep 16 19:44:46 for ANY restful resource locator I have the key, I just want to value of the query part of the url Sep 16 19:45:32 zquad: Uri.parse(String) Sep 16 19:46:12 (then use Uri#getPathSegments()) Sep 16 19:47:45 might be ugly but you can split your link into array and search for /? Sep 16 19:48:26 thanks evanc, neire, was thinking of splitting across / but that looked messy Sep 16 19:51:25 splitting with / looks like the way to go Sep 16 19:52:41 then you can ignore the hostname and http part, and put the remaining parts of the array into a hashmap Sep 16 19:53:43 janmayan77: why would that be the way to go, when there's a built-in utility to do that parsing for you? Sep 16 19:54:34 hopefully you are using getQueryParameter with something like http://host/path?param1=1¶m2=2 ? Sep 16 19:54:48 why x/key/value/key/value ? Sep 16 19:54:53 tahts dumb ;) Sep 16 19:56:17 g00s, why dumb? Sep 16 19:56:25 sorry, i wasn't aware Uri could do it. if it's possible to do it with Uri class, then yes, that's a better alternative Sep 16 19:56:52 i've seen that url format in some zend applications Sep 16 19:57:07 g00s: 'cause REST. Why not paramters like usual? 'cause REST. ... 'cause. :P Sep 16 19:57:48 i thought he was talking about parameters in a Uri; are we talking about path segments ? Sep 16 19:57:53 you better not be talking bad about REST janmayan77, you'll get yelled at Sep 16 19:58:34 REST is for sleeping Sep 16 19:58:36 :) Sep 16 19:58:44 mqtt is for mobile ;) Sep 16 19:58:47 whatever you call it. The URL I have is http://www.website.com/key1/value1/key2/value2/key3/value3 Sep 16 19:59:15 I believe I'd call that url "a f'ing abortion" Sep 16 19:59:24 lol Sep 16 19:59:24 hehe Sep 16 19:59:31 does zend really do that ? Sep 16 19:59:36 yup Sep 16 19:59:41 they are such a bunch of idiots Sep 16 19:59:56 zquad: Uri.parse("http://www.website.com/key1/value1/key2/value2/key3/value3").getPathSegments().get(0); // If you use this as written, you're gonna have a bad time Sep 16 20:00:36 is "segments" what you call it? so key2/value2 is called a segment? Sep 16 20:00:57 zquad: yes. Sep 16 20:00:58 zquad: RTFM of course, but yes Sep 16 20:01:05 evanc: hey :) Sep 16 20:01:07 ltns Sep 16 20:01:10 zquad: they're path segments Sep 16 20:01:18 jasta: yo Sep 16 20:02:18 lol evanc, I didn't know you're fancy word for it Sep 16 20:02:56 zquad, well, it's the api name for it in any case. i was wondering why you didn't just go with that suggestion. Sep 16 20:03:52 I did go with evanc's solution. I just didn't realized it had a specific name, I just referred to it as key-value pairs Sep 16 20:05:07 Anyone have tried RAD Studio for Android app develpment? Sep 16 20:19:35 nope. it looks interesting though Sep 16 20:19:39 I've just wanna share this project I've done last weekend: https://github.com/rallat/GoogleImageSearch Maybe is a useful example for using fragments, navigation drawer, API calls, Endless grid & content providers + unit/ui testing. Sep 16 20:21:23 thanks for the help g00s, i'll call it a night. Sep 16 20:21:41 take care neire Sep 16 20:26:50 need moar reviews Sep 16 20:30:10 (android newb here): I recently added a lot of image assets to my project, and now every time I try to run my app via the simulator (don't use device yet) it takes forever to start. It says "syncing" -- does that mean it copies all the assets each time I run a test? Sep 16 20:30:21 So, as a complete Android dev noob, and total Java noob in general...I am proud to say that last night I was able to create an app that can take user input from a edit field and save it to SD card as a txt file. Sep 16 20:30:28 I R LEARNING Sep 16 20:30:42 am Sep 16 20:30:49 Simulator? What simulator? Sep 16 20:30:51 haha Sep 16 20:31:07 I mean emulator Sep 16 20:31:07 :-) Sep 16 20:31:16 There is only the emulator that nobody uses. Sep 16 20:31:48 I'm using the x86 intel emulator with HAL support -- runs quite fast, until now anyhow. Sep 16 20:32:31 there is also genymotion, which has been woopass so far Sep 16 20:32:33 you mean haxm Sep 16 20:32:39 right Sep 16 20:32:43 only thing good about genymotion is that they have google apis images Sep 16 20:32:49 otherwise, I'd be happier running x86 images Sep 16 20:33:04 Nilium, oh, I fixed your bug from yesterday Sep 16 20:33:19 google api images are kinda a big thing ;) Sep 16 20:33:29 but it is way faster than qemu Sep 16 20:33:31 pfn: Cool beans, so my stupidity uncovered a bug Sep 16 20:33:43 Nilium, I messed up the proguard cache rules and forgot to save results of processing the input package names Sep 16 20:34:13 Nilium, https://github.com/pfn/android-sdk-plugin/commit/2d578bd364646d80db55d6b42053650898881c29#L9L134 Sep 16 20:34:15 indeed, whoops Sep 16 20:34:41 Heh Sep 16 20:35:35 rallat: btw, your app is missing some pretty fundamental android rookie mistakes, like dealing with rotation while your asynctask is executing Sep 16 20:35:42 I've done something like that a few times because I forget that I don't have a destructive map/transform/etc. method. Sep 16 20:37:00 evanc: good point. I thought this rotation was handled by the ExecutorService onDestroyView line 212 Sep 16 20:39:15 evanc: what do you think? Sep 16 20:40:29 rallat: looking briefly, it's going to stop any asynctasks that are executing on that executor, so if you're retrieving data while you rotate, that request is gone. Sep 16 20:40:52 tasks in flight will not be stopped Sep 16 20:40:59 unless your doInBackground is checking for a cancel flag Sep 16 20:41:08 so no, the request is not good Sep 16 20:41:11 s/good/gone Sep 16 20:42:26 ah, pfn's right. Sep 16 20:42:38 https://github.com/rallat/GoogleImageSearch/blob/master/App/src/com/rallat/search/tasks/GoogleImageSearchTask.java ? Sep 16 20:42:44 of course, maybe that's even worse, depending on what you need/do Sep 16 20:42:56 I don't typically use shutdownNow, so I misinterpreted what it did. Sep 16 20:43:29 well, threads in java/dalvik are not preemptive Sep 16 20:43:38 they cannot be stopped without cooperation Sep 16 20:43:48 not technically true Sep 16 20:43:55 it's just a seriously bad idea to do Sep 16 20:44:32 Thread.stop should stop a thread whether it likes it or not Sep 16 20:44:32 the jvm may honor stop still, but dalvik should be ignoring it Sep 16 20:44:46 Has anyone had to deal with the facebook android app not providing a way to turn on the app platform? Sep 16 20:44:46 oh look at that Sep 16 20:44:51 RyanM pfn so what do you recommend then? Sep 16 20:44:57 it gives the normal permissions dialog but fails since app platform is not turned on Sep 16 20:45:15 yeah, Thread.stop isn't supported on Dalvik Sep 16 20:45:28 (which is good, because there's no good reason to use it) Sep 16 20:46:08 public final synchronized void stop(Throwable throwable) { Sep 16 20:46:08 throw new UnsupportedOperationException(); Sep 16 20:46:09 } Sep 16 20:46:21 well, that will probably stop the thread. Sep 16 20:46:31 yeah, the calling thread Sep 16 20:46:31 :p Sep 16 20:46:38 not the target thread Sep 16 20:46:43 right Sep 16 20:47:43 as I recall from threads there's no way to really kill them if they're blocked - i just set a "drop dead if you come back and see this" flag and wait for OOM to reap them Sep 16 20:48:29 the only threading system you can really kill threads dead in (that i've encountered) is linux, because the light-weight process model lets them make threads processes, and you can kill the pid. It's super dirty and non-portable. Sep 16 20:50:06 I believe desktop Java still lets you do it, but it is, as mentioned earlier, a seriously bad idea. Sep 16 20:50:17 hey guys, if I have a Fragment, is there a way I can check to see if it has a Dialog popped over it or not? Sep 16 20:50:22 so what is the proper way to handle the on configuration change issue with AsyncTask? or I may just use an IntentService that is not coupled to an Activity? Sep 16 20:50:39 I was thinking of using getCurrentFocus, but that returns a View object; not easy to do a check with Sep 16 20:51:03 RyanM, yes, the jvm might still honor thread.stop Sep 16 20:51:17 it shouldn't, but it possibly does Sep 16 20:51:20 too lazy to look and see Sep 16 20:57:29 rallat: It's possible to do with retained fragments and getView, but you have to ensure that you're not hanging onto any of your old views after rotation Sep 16 20:57:48 and you'll need to recreate your view on rotation as usual Sep 16 20:58:51 RyanM: Thanks. ok I will take a look later. I read about this but I thought the ThreadPool will handle it. Sep 16 21:01:06 Anyone know why getActivity in ActivityUnitTestCase would return null? Sep 16 21:02:44 hm, maybe before onCreate or something Sep 16 21:03:15 Hi, I have an issue with Android studio which cannot import ActionBarActivity Sep 16 21:03:31 I have Android Support installed Sep 16 21:03:40 Any hints? Sep 16 21:04:39 jrm2k6 hm, maybe clear cache and sync your gradle model if you just changed that Sep 16 21:04:49 hm ok Sep 16 21:04:52 one sec Sep 16 21:05:28 i need to reinstall Build Tools Sep 16 21:05:29 :D Sep 16 21:05:44 when i first tried the gradle plugin around 0.4.0 it was pretty sketchy; seems like its hitting a local maxima in stability now ;) Sep 16 21:05:48 dcow: why don't you use ActivityInstrumentationTestCase2 ? Sep 16 21:06:08 when you say gradle model do you mean just running gradle clear in the command line? Sep 16 21:06:20 no, there should be a little button in the button bar Sep 16 21:06:29 looks like, a gradle symbol + down arrow Sep 16 21:06:36 hover should say 'sync' Sep 16 21:06:48 jrm2k6: sometimes I have to restart my computer to get dependencies to register, if that's what you're running into Sep 16 21:06:49 got it Sep 16 21:06:51 kinda lame, aren't they watching the file for changes :/ Sep 16 21:07:12 jaynewstrom: isn't it the windows way to do it? :) Sep 16 21:07:29 haha, I'm on a mac... that's the sad part Sep 16 21:07:36 ahah Sep 16 21:07:42 ok still not found Sep 16 21:07:43 :( Sep 16 21:07:45 jaynewstrom i haven't had any problems lately :) Sep 16 21:07:57 but , you may also want to clear the gradle cache - but never had to Sep 16 21:08:06 cannot resolve symbol 'actionbaractivity; Sep 16 21:08:13 mine has been working better lately too Sep 16 21:08:27 g00s: how do i clear gradle cache? Sep 16 21:08:28 uh, some dumbass uploaded a malformed pom to the maven repo Sep 16 21:08:40 jrm2k6 its in .gradle/cache Sep 16 21:08:43 just rm -fr it :) Sep 16 21:08:44 ok Sep 16 21:09:10 i heard the best way to fix gradle caches was rm -rf /* Sep 16 21:10:16 hm i dont have cache in .gradle at the root of my project Sep 16 21:10:23 only cache.properties and so on Sep 16 21:10:35 jrm2k6 its in ~/.gradle Sep 16 21:11:15 and a sync after, lets see Sep 16 21:11:48 raa nope Sep 16 21:11:52 f*** Sep 16 21:11:59 <|0xD34D|> fuck Sep 16 21:12:11 i hope google just hosts their own maven repos so we don't have to use the sdk downloaded to get snapshots of them Sep 16 21:12:50 so i m kind of stuck Sep 16 21:13:15 jrm2k6 does it build from the command line ? Sep 16 21:13:22 didnt try Sep 16 21:13:26 :| Sep 16 21:13:29 i mean, i can run the app Sep 16 21:13:36 it is just that it is not resolved Sep 16 21:13:42 so i cannot go to check the code Sep 16 21:13:58 oh, so idea is just showing error marks but it actually is OK ? Sep 16 21:14:04 yes Sep 16 21:14:19 exactly Sep 16 21:14:34 well, you're not going to like this Sep 16 21:14:44 the last few times i got an idea update, i ran into that problem Sep 16 21:14:52 0.2.7 and 0.2.8 Sep 16 21:14:54 damn Sep 16 21:14:59 i just updated my idea today Sep 16 21:15:05 and - i had to blow away all the transient state Sep 16 21:15:16 so can I downgrade? Sep 16 21:15:21 on mac, using AppCleaner, delete everything except the .app bundle Sep 16 21:15:31 hm Sep 16 21:15:36 all the crap in ~/Library, etc Sep 16 21:15:45 I dont want to do that Sep 16 21:15:53 and some left over dirs called AndroidStudioPreview littered here and there Sep 16 21:15:54 it will be a pain in the ass to just set it aain Sep 16 21:16:05 hm, it sould be ok Sep 16 21:16:19 don't delete your iml and .idea/ dir of your project of course Sep 16 21:16:45 ok wait i m downloading app cleaner Sep 16 21:17:37 so what do i delete? Sep 16 21:17:37 lol Sep 16 21:17:51 start AppCleaner, select IntelliJ Sep 16 21:18:04 or Android Studio in my case Sep 16 21:18:05 delete everything except the .app bundle Sep 16 21:18:16 i think this will put you back to AS 0.2.0 Sep 16 21:18:21 so it will have to d/l patches agin Sep 16 21:18:21 hm Sep 16 21:18:33 also mdfind AndroidStudioPreview Sep 16 21:18:40 delete those little shits also Sep 16 21:19:03 so i have the previews in the list Sep 16 21:19:08 if this doesn't work, heh - then you will have to delete your .iml and .idea worst case :( Sep 16 21:19:08 and also Android studio Sep 16 21:19:44 and a com.google.androidstudio.plist, com.google.androidstudio.plist.lockfile Sep 16 21:19:46 i see so many people having this problem from the google+ tools channel Sep 16 21:19:55 do i delete that too? Sep 16 21:20:03 jrm2k6 yeah, EVERYTHING EXCEPT THE APP BUNDLE Sep 16 21:20:34 ok Sep 16 21:20:35 then $ cd ~/Library Sep 16 21:20:42 find . -name AndroidStudioPreview Sep 16 21:20:49 for some reason those aren't picked up Sep 16 21:21:17 ok Sep 16 21:21:25 now it should be a blank slate Sep 16 21:21:33 when you start AS, it should say there is an update, do all of that Sep 16 21:22:01 lemme try Sep 16 21:22:36 version is 0.2.0 Sep 16 21:23:25 it didnt ask for any update Sep 16 21:23:40 do a check for update sthen Sep 16 21:25:06 ok upgraded to 0.2.8 Sep 16 21:25:20 WOHOO Sep 16 21:26:24 Thanks a lot g00s Sep 16 21:26:33 jrm2k6 phew :| Sep 16 21:29:33 :) Sep 16 21:29:39 hi guys quick questioni would really really appretiate the help Sep 16 21:29:54 janmayan77: don't ask to ask Sep 16 21:29:58 just ask :) Sep 16 21:30:07 How do you manage all those xml files whne you work collaboratively? because some xmls are important to track and some other now Sep 16 21:30:20 jrm2k6: only check in some of them? Sep 16 21:30:49 i have a class thats implementing an interface and an init method from a different class that needs the this keyword as a parameter and the this keyword needs to refer to the implementing interface and not the activity how is this done? Sep 16 21:31:58 so lets say my interface is called MyInterface i would need the this keyword to refer to MyInterface not MainActivity Sep 16 21:32:42 are there any decent drag and drop libraries for api level 10 and above ? Sep 16 21:33:38 i know there's a framework for api version 11 and above at http://developer.android.com/guide/topics/ui/drag-drop.html Sep 16 21:33:57 where can one go to get something decent for older versions of android? Sep 16 21:34:12 is it possible? Sep 16 21:35:20 i keep getting error message Sep 16 21:35:37 any ideas :) ? Sep 16 21:35:39 The method init(Context, AppLiftSDKDelegate, String, String) in the type AppLiftSDK is not applicable for the arguments (Context, MainActivity, int, String) Sep 16 21:36:14 im a dumb ass sorry Sep 16 21:36:51 =:s Sep 16 21:37:59 surely someone has some experience drag and drop , right ? thanks in advance for some feedback Sep 16 21:39:05 janmayan77: i ended up writing my own :S Sep 16 21:39:36 janmayan77, ViewDragHelper in support-v4 Sep 16 21:39:41 Hello there! Do I need to commit SharedPreferences edits after each remove? Sep 16 21:39:46 Silox|, yes Sep 16 21:39:50 Or can I remove a bunch of items and then commit once? Sep 16 21:39:52 Ok, thanks :) Sep 16 21:39:54 you can commit once Sep 16 21:39:59 Aha, great! Sep 16 21:40:06 Thanks you :) Sep 16 21:40:49 thanks, pfn. i'll check it out Sep 16 21:41:07 Spider goats have wee bit of spider DNA squirreled away in their genetic makeup … . milk contains elements of golden orb spider silk .. not for human consumption: silk can be extracted and made into body armor, parachutes, fishing line and surgical sutures . w t f f f f f Sep 16 21:42:48 i think they use some kind of spider silk for kevlar Sep 16 21:45:27 spiders are bullet proof? Sep 16 21:57:58 pfn, would you happen to know any links on the net with a tutorial for ViewDragHelper ? Sep 16 21:58:14 i found the class description… but no demos Sep 16 21:58:32 thanks Sep 16 22:00:41 janmayan77 https://plus.google.com/+AdamWPowell/posts/47CoRkNxN9u Sep 16 22:02:04 Hi Sep 16 22:02:19 does anyone use Android Studio? Sep 16 22:03:09 yes Sep 16 22:04:09 thanks a bunch, g00s. i'll check it Sep 16 22:04:14 yes, i use it Sep 16 22:04:39 I've got a problem - I try importing a Android Studio project (I mean, default structure, using gradle). I don't have a .idea, project.impl files there Sep 16 22:04:56 and there are two modules Sep 16 22:05:57 so, a root module is import without any issue Sep 16 22:06:22 but then I try add the second module in Project Structure Sep 16 22:07:46 import existing module option Sep 16 22:08:17 and it doesn't work - I don't have the second module in modules list Sep 16 22:08:24 I didn't get any errors Sep 16 22:08:27 holy hell todos are hard to read in the new update for android studio Sep 16 22:09:03 they are fine in IJ :) Sep 16 22:09:11 if I do "gradle build" in CLI, it's fine Sep 16 22:09:39 that's strange Sep 16 22:09:45 the setting for TODO's is fine, but it' Sep 16 22:09:49 s coming up as a dark blue Sep 16 22:11:26 maybe create a new project and copy all .idea, *.impl, gradle files, mhm Sep 16 22:12:05 hi I am using android studio and I have deleted an activity but it keeps coming back in my manifest file. It drives me nuts. Any suggestions on how to fix it? Sep 16 22:13:05 and the build keeps failing because of it Sep 16 22:14:31 maybe AS should have been more fully baked before releasing to the masses :D Sep 16 22:14:38 ah, fixed the TODOs Sep 16 22:15:07 g00s: are you suggesting a bug or a user failure? Sep 16 22:15:26 dunno. its still a preview Sep 16 22:15:36 gotta be willing to put up with pain if you use it Sep 16 22:16:09 it's like adventure ;) Sep 16 22:16:16 it took google 5 years to get the ADT mostly stable; this will be interesting :) Sep 16 22:16:17 just started a new project thought I'd do it in AS Sep 16 22:16:45 hah, I fixed it.. edited the manifest outside AS and it worked.. Sep 16 22:17:27 5 years to get adt stable? Sep 16 22:17:32 adt's been pretty stable for the last few years... Sep 16 22:17:36 someone smokes crack Sep 16 22:17:38 a little too much Sep 16 22:18:09 I don't even understand why g00s bothers with android... so much pain for basically no reward... Sep 16 22:19:00 pfn i guess your projects were always trivial; never used library projects with transitive deps, etc Sep 16 22:19:31 no, I just don't use eclipse Sep 16 22:19:37 beef beef beefaroni! Sep 16 22:19:50 and for that matter, I've been on a large number of large scale customer projects that have numerous transitive dependencies and library projects Sep 16 22:19:55 how many have you been on? Sep 16 22:19:59 you complain a lot Sep 16 22:20:30 (and those customer projects have all, up until very recently, been mostly eclipse adt users) Sep 16 22:20:42 pfn i don't think i complain more than you do ? i'll point it out the next time you bitch, a s service Sep 16 22:20:56 you complain habitually about one thing, over and over Sep 16 22:20:58 it's a broken record Sep 16 22:21:07 you complain a lot *and* are rude, what the hell am i complaining about ? Sep 16 22:21:07 well, that escalted quickly.. Sep 16 22:21:13 I make a point of something being poorly documented, find a solution, and fix it Sep 16 22:21:43 e.g. global search not declaring DATA_KEY_ID must be declared to actually come up with distinct results Sep 16 22:22:17 as a metric, all you do is complain, far more, look in the mirror and logs Sep 16 22:22:40 what have *you* contributed to the android community? Sep 16 22:31:09 pfn maybe you should learn the difference between complaining and making an observation. complaining requires framing oneself as a victim; i dont' think i do that, but really don't care what you think at this point. i hope that over the years, i contributed by helping a few people here. Sep 16 22:32:18 that is not an observation Sep 16 22:32:20 you constantly deride google's android tools Sep 16 22:32:35 they are worth y of derision Sep 16 22:34:22 scrollup g00s admits to being a mac fanboy, willing to pay extra $ to develop apps for a device s/he overpaid for in the first place Sep 16 22:34:22 the first android book i read, by shane conder, said "these tools have an unfinished quality" Sep 16 22:34:28 so? Sep 16 22:34:40 either put your money where your mouth is, or take it up the ass and stop complaining Sep 16 22:35:06 supercell oh shut the fuck up , please. Sep 16 22:35:23 are you saying one can't dev for android and iOS at the same time ? Sep 16 22:35:33 g00s also likes to think iphones have better cameras Sep 16 22:35:33 wow someone knows how to do f bomb Sep 16 22:35:43 till i pointed out the whole white iphone thing Sep 16 22:36:31 supercell i said the iPhone has a good camera? WHAT IS YOUR POINT Sep 16 22:36:50 you're a mac fanboy, its ok. peace be with you Sep 16 22:37:10 i think i said, specifically, people buy iPhones because they have good cameras. Sep 16 22:37:21 supercell no,i'm not a fanboy Sep 16 22:37:27 i think you actually said androids were cheap... or something to the effect that only poor people buy androids Sep 16 22:37:44 supercell maybe you are confusing me with somebody else ? Sep 16 22:37:49 shall i provide logs Sep 16 22:37:55 please Sep 16 22:37:59 As someone who really likes Android and isn't particularly fond of iOS, iPhones do have better cameras. Sep 16 22:38:24 compared to what ? Sep 16 22:38:29 except for stuff like the galaxy camera and its ilk, obviously Sep 16 22:39:00 it's not just the sensor but the whole camera experience Sep 16 22:39:18 from how long it takes to the absence of touchwiz shit on top if it, iphone does have better camera Sep 16 22:39:43 but if people bought phones for the camera, why aren't the lumias outselling everythign? Sep 16 22:39:44 HTC has a couple phones that might be able to compete, but for the most part iPhones have better cameras. Sep 16 22:40:02 because they run Windows Phone Sep 16 22:40:23 (also because people don't buy phones for the camera) Sep 16 22:40:54 it's *a* selling point, but it's rarely a deal-breaker, at least among people I've talked to. Sep 16 22:41:16 alright, i redact what i said about g00s, he never said android users were inherently poor Sep 16 22:41:18 that was someone else Sep 16 22:42:30 supsup Sep 16 22:42:44 i need to do some research on video and audio players Sep 16 22:43:15 On that note, I'd love to play with that Lumia with the 40mp sensor, but I'd never actually buy one. Sep 16 22:44:35 there was a good article in the verge about cameras in htc one / sgs4 / iphone 5 Sep 16 22:44:45 can't find it atm Sep 16 22:45:41 i wonder if DxO does phone cameras now Sep 16 22:47:04 apparently. http://www.dxomark.com/index.php/Mobiles/Samsung-Galaxy-S4-overview-Does-bigger-mean-better Sep 16 22:48:59 supercell maybe you are confusing me with somebody else ? Sep 16 22:49:04 I've been waiting for apple to go away since the apple II, when I had my Commodore 64 Sep 16 22:49:06 yes, can confirm Sep 16 22:49:22 shmooz i still have my C64 ;) Sep 16 22:49:23 yup i redacted it Sep 16 22:49:23 btw supercell, you made me laugh Sep 16 22:49:32 lol whysthat Sep 16 22:49:52 LOAD "RAID OVER MOSCOW" ,8,1 Sep 16 22:49:56 scrollup g00s admits to being a mac fanboy, willing to pay extra $ to develop apps for a device s/he overpaid for in the first place Sep 16 22:50:09 olol Sep 16 22:51:33 shmooz do you remember the machine language editor from the commodore gazette magazine ? Sep 16 22:51:45 nope Sep 16 22:52:23 I only did BASIC with a Sprite Editor to make games Sep 16 22:54:27 do you remember the machine language editor in ResEdit on Mac OS? Sep 16 22:55:06 I remember trying to hack machine code on a PET 32, you type SYS 4 and then ... Sep 16 22:55:40 and I tried all the random POKES to see what they do Sep 16 22:57:19 and use PEEK for collision detection Sep 16 23:10:14 I never really got into machine code. I went through several periods where I needed to look at what the compiler boiled my code down do, make changes and repeat though Sep 16 23:25:22 Does anyone know why getActivity() ActivityUnitTestCase would return null? Sep 16 23:25:29 in* Activ.. Sep 16 23:31:03 because you're calling it at the wrong time Sep 16 23:31:06 or you didn't setactivity to begin with Sep 16 23:31:51 and you need to startActivity in order to getActivity Sep 16 23:33:49 uh oh spagety os Sep 16 23:35:33 is it possible to show contents of an activity within my original activity Sep 16 23:35:39 like how the new youtube app is Sep 16 23:35:47 ? Sep 16 23:36:20 to launch a new activity but stay within the original activity and only change a dialog of the view Sep 16 23:36:32 then it's not launching a new activity Sep 16 23:36:34 use fragments Sep 16 23:37:14 like i have a layout view in the bg and i want to show anotheer layout overlayd ontop of the original layout but the new layout is created by an acticity Sep 16 23:37:55 pfn, you're right. I misunderstood getActivity, since it works differently in InstrumentationTestCase Sep 16 23:39:15 javaDon, then create it using a fragment Sep 16 23:40:06 javaDon, if you want to re-use it and you created it as an activity, and you want to embed it, you did it wrong, it needs to be in a fragment Sep 16 23:42:48 sorry got bumped off anyone know? Sep 16 23:42:50 pfn, do you know what the consequences of not calling setApplication are? The sentence describing the consequence is not complete: http://developer.android.com/reference/android/test/ActivityUnitTestCase.html#setApplication(android.app.Application) Sep 16 23:43:45 how nice of it to be incomplete... Sep 16 23:44:27 wow, that's the most useless doc ever Sep 16 23:44:47 If you don't do this, we won't even tell you what'll happen. Sep 16 23:45:29 pfn, looks like a MockApplication is used. Sep 16 23:45:50 indeed Sep 16 23:45:58 my test case doesn't setApplication either, heh Sep 16 23:49:04 Hi guys, can anyone familiar with the alarm manager help me out. I am trying to set repeating alarms based on the settings a user has inputed. A max of 5 alarms can be set, If a user wants 3 alarms to go off, I set 3, and cancel the last 2. However when I cancel the last two it I think it is cancelling all my alarms because I don't know exactly what pending intent the alarm manager is cancelling Sep 16 23:49:09 here is my code so far: http://pastebin.com/KktZdPkt Sep 16 23:49:31 if anyone could take a look and give me some advice i'd really appreciate it. Sep 16 23:50:27 navetz, set an id in your PendingIntent Sep 16 23:51:35 pfn: would that be the requestCode -> public static PendingIntent getBroadcast (Context context, int requestCode, Intent intent, int flags) Sep 16 23:51:42 yes Sep 16 23:52:09 pfn: is my interval variable not the ID? Sep 16 23:53:09 dunno, is it? Sep 16 23:53:45 pfn: i thought it was, perhaps my logic is wrong. I'll do some debugging, thank you. Sep 16 23:54:34 anyway, read the docs for alarmmanager.cancel to understand what exactly gets canceled Sep 16 23:54:44 Anybody used an external wifi dongle? Sep 16 23:55:50 cool, new SDk release Sep 16 23:56:58 g00s: ? Sep 16 23:57:18 i see 22.2 Sep 16 23:57:40 api 18 sdk rev bump too Sep 16 23:58:12 you mean ADT ok Sep 16 23:59:13 dunno about ADT. i mean SDK Sep 16 23:59:33 ADT too Sep 16 23:59:34 i haven't used the ADT in a while now Sep 17 00:32:19 I'm just beginning to work with ListViews and for some reason the one I have set up only shows the first element from the ArrayList I'm giving it. is there a common reason for that? Sep 17 00:32:44 I'm using an ArrayAdapter as well Sep 17 00:33:13 spike021 ApiDemos has plenty of example for ListView Sep 17 00:33:33 in general, i recommend just extending BaseAdapter instead. most of the demos do that ;) Sep 17 00:33:43 how does youtube app get those video thumbanails? I get this shit https://i1.ytimg.com/vi/IOibqPRrKRg/sddefault.jpg with horizontal bands Sep 17 00:34:53 g00s: yeah I'm looking at some tutorials right now. my code seems correct. just not sure why only one row is being populated Sep 17 00:35:10 spike021 you'll have to pastebin it for anyone to see :) Sep 17 00:35:29 but i never use ArrayAdapter, not sure i'll spot it Sep 17 00:36:32 spike021: pastebin code Sep 17 00:37:08 here you go Sep 17 00:37:09 http://pastebin.com/Cm329p3Q Sep 17 00:37:41 just from looking around on the internet, ArrayAdapter seemed like a good way to go since I have an ArrayList of Strings Sep 17 00:38:38 there really isn't any reason for ArrayAdapter to exist Sep 17 00:39:25 meh Sep 17 00:39:35 I don't know if that's even the problem with my code right now Sep 17 00:39:48 I feel like it's related more to the layout, but I'm not too sure Sep 17 00:39:59 maybe if you didn't use it, you would have a better idea of how the adapter worked Sep 17 00:40:06 possibly Sep 17 00:40:15 or it would be evident is your arraylist only had one thing in it Sep 17 00:40:36 spike021: what's the size of first.getQuestions()? Sep 17 00:40:47 there should be four elements gdrc Sep 17 00:40:58 did you check it? Sep 17 00:41:06 yeah it should be fine Sep 17 00:41:18 if I just do a Log then all of them are ok Sep 17 00:41:29 but when I try doing the list, only the first one is printed to the List Sep 17 00:46:19 hi Sep 17 00:46:26 can anyone tell me how I do this Sep 17 00:46:26 To build the kernel despite the mismatches, build with: Sep 17 00:46:27 'make CONFIG_NO_ERROR_ON_MISMATCH=y' Sep 17 00:47:00 gdrc, actually I just noticed it's only getting the first element. that's really weird Sep 17 00:47:08 yeah Sep 17 00:47:12 code is fine Sep 17 00:48:35 gdrc: when I check the processed ArrayList in the object I'm working with, it has all four elements. first.getQuestions() should just be taking that ArrayList. could be my Java Sep 17 00:48:50 must be Sep 17 00:52:37 does anyone know if the moto X supported 4.3's hardware geofencing? Sep 17 00:53:00 i thought geofencing was play services Sep 17 00:54:46 oh cool,i see Sep 17 00:55:09 so its an optimization to play services apis; they can use it or not Sep 17 00:56:03 g00s, geofencing is a playservices API, but certain devices have hardware to do the compute in a very low power way Sep 17 00:56:11 the N4 for instance Sep 17 00:56:43 https://developer.android.com/reference/android/hardware/location/GeofenceHardware.html Sep 17 00:57:18 i see Sep 17 00:58:35 is there some website where to get some 9patch images? Sep 17 01:04:12 is there a way to start an activity as a view? Sep 17 01:04:25 javaDon you want OLE ! Sep 17 01:04:34 OLE? Sep 17 01:04:48 ActiveX Sep 17 01:05:24 generally, no Sep 17 01:05:52 RemoteFragment :) Sep 17 01:05:57 i dont beleive i am familiar with that Sep 17 01:06:28 heres my delema Sep 17 01:06:43 InterstitialActivity mSmartActivity = AppLiftSDK.getInterstitialActivity(AppLiftInterstitialType.TYPE_SMART); InterstitialActivity.startActivity(MainActivity.this, mSmartActivity.getParams()); Sep 17 01:07:29 for some reason there close button wont show up and in there pdf they said i can present the activity however i want Sep 17 01:07:40 not sure what they ment by that or how Sep 17 01:10:03 any ideas? Sep 17 01:11:05 no Sep 17 01:12:00 javaDon is that addmob ? Sep 17 01:12:08 admob Sep 17 01:12:14 How can I make a view that is a part of a grid view refresh? (setting a selection overlay when multi select is on) Sep 17 01:12:33 is admob 'really' worth the effort ? Sep 17 01:13:23 oh, AppBrain Sep 17 01:13:34 man, interstitial adds suck Sep 17 01:13:44 oh noes i'mcomplaining again Sep 17 01:13:55 javaDon forget about that stuff Sep 17 01:18:18 sigh http://venturebeat.com/2013/08/09/interstitial-mobile-ads-are-killing-it-25x-video-views-7x-conversions-9x-revenue/ Sep 17 01:25:28 g00s no it is not Sep 17 01:25:36 it is not appbrain either Sep 17 01:26:46 its applift Sep 17 01:27:26 g00s any ideas as to the cosimization of an activity Sep 17 01:28:07 i dont know anything about applift, sorry Sep 17 01:40:04 can someone help? adb devices returns fine. adb logcat says unknown or missing Sep 17 01:40:30 what's the output of adb devices ? Sep 17 01:41:40 anon@anonnix:~$ adb devices Sep 17 01:41:40 List of devices attached Sep 17 01:41:40 290e710a recovery Sep 17 01:43:31 xstefen, no logcat in recovery, apparently Sep 17 01:43:39 adb logcat return, anon@anonnix:~$ adb logcat Sep 17 01:43:39 /sbin/sh: exec: line 1: logcat: not found Sep 17 01:44:00 hmm, this kernel bootloops and i want to find out why. should i try the command as its trying to boot? Sep 17 01:45:49 i need a good tutorial on code organization Sep 17 01:46:07 you can't do much, logcat doesn't start til zygote is available Sep 17 01:46:24 so you can't debug bootloops that way Sep 17 01:46:53 hmm :( have a better suggestion? Sep 17 01:47:13 no Sep 17 01:47:26 I don't do any kernel haxoring Sep 17 01:47:38 well thanks anyways :) ill keep up this tomfoolery Sep 17 01:47:50 friend is building for a device he doesnt have and im trying to assist him Sep 17 01:48:00 the samsung galaxy victory 4g lte gets no love :\ Sep 17 01:48:14 figure out how to get boot logging showing on screen Sep 17 01:48:34 nothing google cannot assist with Sep 17 01:49:14 actually i got some output Sep 17 01:49:28 ran logcat as it was rebooting and it definately logged SOMETHING :\ Sep 17 01:57:01 any1 here use applift? Sep 17 01:57:08 or mob partner Sep 17 01:57:11 or vserv Sep 17 01:59:30 I use no ads. does that count? :) Sep 17 01:59:45 speaking of adb devices... :/ Sep 17 01:59:48 http://paste.ubuntu.com/6117511/ Sep 17 01:59:59 that's my device rules Sep 17 02:00:16 Bus 001 Device 007: ID 18d1:d002 Google Inc. Sep 17 02:00:37 but when I'm trying to list the adb devices, it says I still have no permissions Sep 17 02:00:41 I love how my client interprets the : D in that line as a smiley. Sep 17 02:00:42 xstefen, usually not useful though :p Sep 17 02:01:01 JesusFreke, your client is awesome :p Sep 17 02:01:07 quite :p Sep 17 02:01:18 adium? Sep 17 02:01:24 pidgin Sep 17 02:01:25 no it dosnt Sep 17 02:01:37 close enough Sep 17 02:02:34 I hope the nexus 5 cannsomehow run on vzw Sep 17 02:02:43 I hate that asshole network Sep 17 02:02:59 pfn stop complaining Sep 17 02:03:05 use another network Sep 17 02:03:27 what Nexus 5? It's just a dream, at this point. Sep 17 02:03:46 no, that was the first android device Sep 17 02:04:10 (htc dream :p) Sep 17 02:04:46 it's getting close Sep 17 02:06:18 how the hell do you get adb working? :/ Sep 17 02:06:39 qicr is in need of an ignore feature badly Sep 17 02:06:45 I have the SDK installed. adb is on PATH. Sep 17 02:06:50 * pfn puts it on the todo list Sep 17 02:06:56 SuperLag: restart udev and reconnect the device Sep 17 02:07:02 sudo restart udev Sep 17 02:07:03 iirc Sep 17 02:07:07 I'm in the plugdev group. Sep 17 02:07:25 SuperLag: did you just add the udev rules? Sep 17 02:07:29 if so, you need to restart udev Sep 17 02:08:53 Hi all! Does anyone know how to disable GPS on a backgrounded Google Maps FragmentActivity? Sep 17 02:08:53 already done, more than once Sep 17 02:09:25 JesusFreke: should I be at all concerned that "lsusb" says it's a Google device, but dmesg says it's an LGE device? Sep 17 02:10:07 The VID:PID in dmesg match what shows up in lsusb, so I'm guessing not. Sep 17 02:11:03 did you reconnect the device after restarting udev? Sep 17 02:11:27 yes Sep 17 02:12:44 SuperLag: oh Sep 17 02:12:58 and I just saw another tutorial that says you need the rule file set +x, so I did that Sep 17 02:12:59 you're specifying the vendor should be 18d1:d002 Sep 17 02:13:06 but that's vendor+device id Sep 17 02:13:17 so just 18d1 then? Sep 17 02:14:02 yeah, that will work. If you want to specify the device id too, you should do that as a separate attribute. I'm assuming something like ATTR{idDevice}, but you would need to look it up Sep 17 02:14:23 I have no idea what the TEST or RUN things are Sep 17 02:14:54 yeah... now it shows up, but as "device" Sep 17 02:15:08 List of devices attached Sep 17 02:15:08 0483d9d8e04de5cc device Sep 17 02:15:34 then you're done Sep 17 02:16:19 where do you guys put your gradle.build release signingConfig parameters? dont want to put them in the build file itself; yet i check in gradle.properties. maybe i should put them in gradle.properties and gitignore that instead? Sep 17 02:18:17 pfn: you don't need the device name? Sep 17 02:19:35 why would you? Sep 17 02:22:45 interesting that Google bought bump, I wonder how much scala is still in use there Sep 17 02:31:18 Note: Use of Support Library RenderScript APIs is not currently supported with Android Studio or Gradle-based builds. Sep 17 02:31:25 heh, nice Sep 17 02:33:16 I wanna find something fun to do with RenderScript, dunno yet Sep 17 02:33:36 boobies Sep 17 02:33:51 :* Sep 17 02:35:39 hey guys, does anyone know if map.setMyLocationEnabled(false); actually turns off the GPS/network location checking in google maps? I tried, but it doesn't seem to want to turn off. Sep 17 02:53:02 hello Sep 17 02:53:13 any info on existing scrypt implementations ? Sep 17 02:55:33 8p **** ENDING LOGGING AT Tue Sep 17 02:59:58 2013